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
Bug 1904578: Configure metrics scraping #107
Conversation
db06c67
to
0597841
Compare
port: 443 | ||
protocol: TCP | ||
targetPort: 8443 | ||
selector: |
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 think CSO's metric setup is busted. In deployment we say:
ports:
- containerPort: 60000
name: metrics
And then since we don't specify port in startup command, it will default to 8443, but then where does 443 comes from?
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.
8443
is where library-go listens: https://github.com/openshift/library-go/blob/9821002633e882489381e51d1bb4442788c0c01f/pkg/config/configdefaults/config_default.go#L46.443
is where we want to expose the metrics service.
Good point about the containerPort
, fixed to 8443.
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.
we as such don't have to change the port I think. We can as well leave it same as target port.
7b8ee72
to
fb57715
Compare
/retest |
2 similar comments
/retest |
/retest |
manifests/10_deployment.yaml
Outdated
resources: | ||
requests: | ||
cpu: 10m | ||
memory: 20Mi |
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.
btw 20Mi is not going to be enough for this one. I saw it taking 53MB minimum when I was running locally.
/retest |
8a65fea
to
887a4b4
Compare
8e03698
to
128e5f0
Compare
@jsafrane: This pull request references Bugzilla bug 1904578, which is invalid:
Comment In response to this:
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. |
/bugzilla refresh |
@jsafrane: This pull request references Bugzilla bug 1904578, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
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. |
/retest Please review the full test history for this PR and help us cut down flakes. |
12 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
Rebased |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bertinatto, jsafrane 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 |
@jsafrane: All pull requests linked via external trackers have merged: Bugzilla bug 1904578 has been moved to the MODIFIED state. In response to this:
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. |
Add service + Prometheus config for scraping CSO metrics.