-
Notifications
You must be signed in to change notification settings - Fork 81
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
Set cert-dir to prepare for 1.13 and switch to sercure port #77
Conversation
/lgtm worked |
/retest Please review the full test history for this PR and help us cut down flakes. |
@sttts bootstrapping problem? |
/lgtm |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 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 |
/hold |
/retest |
@sttts - I am closing this one. Please re-open if you want this one. |
We will need it for after the rebase lands. |
@soltysh: Reopened this PR. 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. |
Rebased landed. /hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, mfojtik, sttts 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 |
/cc @s-urbaniak Shouldn't this break metrics for scheduler? |
@@ -16,8 +16,7 @@ spec: | |||
command: ["hyperkube", "kube-scheduler"] | |||
args: | |||
- --config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml | |||
- --secure-port=0 | |||
- --port=10251 |
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.
https://github.com/openshift/cluster-monitoring-operator/blob/172beb3e0d2cbf1f79bf61ba9c3f5bea373b4125/assets/prometheus-k8s/service-monitor-kube-scheduler.yaml#L15 relies on scraping the insecure port 10251
in the openshift-kube-scheduler
namespace.
By ommitting --port
, hyperkube kube-scheduler
will still be listening on the insecure port 10251
. Just explicitely setting it to --port=0
will disable the insecure port.
tldr: this shouldn't break monitoring and I verified with a local scheduler that, having ommitted --port
i stil get metrics on 127.0.0.1:10251/metrics
.
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.
@sttts I'm looking at our config which we point here and I don't see we set port to 10257 and insecure to 0, am I blind or something?
Due to kubernetes/kubernetes#69884.