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
Wait for port to be available #90
Wait for port to be available #90
Conversation
/test e2e-aws |
xref https://bugzilla.redhat.com/show_bug.cgi?id=1698251 That bug shows port 10251 not 10259. Just want to make sure we are doing the right thing. |
https://github.com/openshift/cluster-kube-scheduler-operator/pull/88/files disabled insecure port(10251) and moved to secure port(10259) which is default secure port.(https://github.com/openshift/cluster-kube-scheduler-operator/pull/77/files) |
Also related to the port switch: openshift/installer#1576 |
just checking, thanks! |
- name: wait-for-host-port | ||
image: ${IMAGE} | ||
imagePullPolicy: IfNotPresent | ||
command: ['/usr/bin/timeout', '105', '/bin/bash', '-c'] # a bit more than 60s for graceful termination + 35s for minimum-termination-duration, 5s extra cri-o's graceful termination period |
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.
this is far too much for kube-scheduler. It does not hurt much, but still. At least the comment is wrong :)
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold This has been failing continuously, perhaps there is a timing issue and could be related to what Stefan pointed out. Need to debug this. |
/retest |
openshift/origin#22543 this might fix the port |
/retest |
2 similar comments
/retest |
/retest |
9cf03c0
to
b88916d
Compare
/retest |
Maybe too slow?
/retest |
b88916d
to
7134331
Compare
Thank you @wking, yeah but it's inline with other control plane components. To be clear, I have added 10251 port as well because, we are starting metrics server and /healthz on 10251. |
/test e2e-aws-serial |
/retest |
/test verify |
/test e2e-aws-operator /test e2e-aws |
2a5caa9
to
eef78a2
Compare
/hold |
eef78a2
to
8221639
Compare
The scheduler is in Pending
|
@ravig did you mean to force push this change? There is no init container any more. |
anyway, the reason it was failing before was because we need this code in otherwise the templating of |
Ohh you're right @sjenning, thanks for the help :) |
New changes
8221639
to
491758e
Compare
/retest |
1 similar comment
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ravisantoshgudimetla, sjenning 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 |
/hold cancel |
Add an init container so that we wait for 10259 port to be available before throwing error.
/cc @deads2k @sjenning @sttts