-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MON-2213: Expose the /federate endpoint of UWM Prometheus as a route #1633
MON-2213: Expose the /federate endpoint of UWM Prometheus as a route #1633
Conversation
Skipping CI for Draft Pull Request. |
/test all |
8a27df5
to
6f12b73
Compare
6f12b73
to
f8ca17b
Compare
f8ca17b
to
14d6a82
Compare
/test all |
14d6a82
to
8671d2c
Compare
Ping @juzhao for qe approval. |
8671d2c
to
6d3acbc
Compare
@lihongyan1 please help to review |
/label qe-approved |
|
||
b, err := ioutil.ReadAll(resp.Body) | ||
r, err := factory.PrometheusUserWorkloadFederateRoute() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer if we didn't couple the e2e test with the manifests package since this has been the approach so far. In practice, the test should assume the name of the route.
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: openshift-monitoring | ||
name: prometheus-uwm-federate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: prometheus-uwm-federate | |
name: prometheus-user-workload-federate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simonpasquier , Route with name prometheus-user-workload-federate
causes the following error due to long name.
Updating Prometheus-user-workload failed: reconciling UserWorkload federate Route failed: creating Route object failed: Route.route.openshift.io "prometheus-user-workload-federate" is invalid: spec.host: Invalid value: "prometheus-user-workload-federate-openshift-user-workload-monitoring.apps.ci-ln-53rm4lk-72292.origin-ci-int-gce.dev.rhcloud.com": must be no more than 63 characters
I guess we can stick to a simple name like federare
as it is a sub domain of openshift-user-workload-monitoring.apps.ci-ln-53rm4lk-72292.origin-ci-int-gce.dev.rhcloud.com
.
2811be7
to
fb83bf7
Compare
/test e2e-agnostic-operator |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
fb83bf7
to
059955e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest |
Successor of openshift#1601 to expose UWM federate service as a Openshift Route. Signed-off-by: Arunprasad Rajkumar <[email protected]>
059955e
to
b647559
Compare
/skip |
/test e2e-agnostic-upgrade |
@arajkumar: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arajkumar, simonpasquier The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label qe-approved |
Ping @Senthamilarasu-STA for px-approval |
/label px-approved |
Successor of #1601 to expose UWM federate service as a Openshift Route.
Signed-off-by: Arunprasad Rajkumar [email protected]