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
METAL-834: Add --metrics-addr argument to controller #110
Conversation
We want to be able to override the bind address of the metrics server. Omitting the argument preserves the original behaviour for backwards compatibility.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: honza 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 |
/retest |
/retitle NO-ISSUE: Add --metrics-addr argument to controller |
@honza: This pull request explicitly references no jira issue. 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. |
/hold @honza has indicated this still needs testing |
I think it works as a standalone change --- the testing is more about the actual problem I'm trying to solve: running this on the bootstrap node in k8s mode. |
/unhold |
Please open a ticket for this. This is not a valid use of NO-ISSUE. |
/retitle METAL-834: Add --metrics-addr argument to controller |
@honza: This pull request references METAL-834 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. 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 |
Port: 0, // Add flag with default of 9443 when adding webhooks | ||
Namespace: watchNamespace, | ||
Cache: cacheOptions, | ||
MetricsBindAddress: metricsBindAddr, |
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.
In general this lgtm, Just wondering if we should add TLS Config like we have in BMO and CBO...
/retest |
/hold Revision c1a55de was retested 3 times: holding |
/retest |
/unhold |
@honza: all tests passed! 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-image-customization-controller-container-v4.16.0-202401022351.p0.g1b73a7c.assembly.stream for distgit ose-image-customization-controller. |
We want to be able to override the bind address of the metrics server. Omitting the argument preserves the original behaviour for backwards compatibility.