-
Notifications
You must be signed in to change notification settings - Fork 13
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
sched: always set the leader election parameters #1080
Conversation
75c94a1
to
26e2d61
Compare
/cherry-pick release-4.17 |
@ffromani: once the present PR merges, I will cherry-pick it on top of 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-sigs/prow repository. |
/hold we need controller tests |
26e2d61
to
81a5794
Compare
/hold cancel tests added |
/override ci/prow/ci-e2e-install-hypershift |
@ffromani: Overrode contexts on behalf of ffromani: ci/prow/ci-e2e-install-hypershift 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-sigs/prow repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani, Tal-or 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 |
The waiting period for MCP to catch up has become flaky recently. I wonder if it's somehow related to one of our recent changes or there's something broken in OCP |
same thoughts here. I'll keep watching |
/retest-required |
Because of a overlook, we used to set the leader election params only if replicas > 1 was requested. This left the key *and default* corner case of replicas=1 with compiled in defaults, which are questionable at best and most likely harmful for our use case. Make sure to always set sane parameters, obviously taking into account the user desires from the spec (Replicas field). Add more logs to make troubleshooting easier Signed-off-by: Francesco Romani <[email protected]>
81a5794
to
d83cc70
Compare
New changes are detected. LGTM label has been removed. |
/override ci/prow/ci-e2e-install-hypershift fixes still pending, this is expected |
@ffromani: Overrode contexts on behalf of ffromani: ci/prow/ci-e2e-install-hypershift 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-sigs/prow repository. |
/hold let's wait for #1071 to go in |
/hold cancel #1071 merged |
@ffromani: #1080 failed to apply on top of branch "release-4.17":
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-sigs/prow repository. |
Because of a overlook, we used to set the leader election
params only if replicas > 1 was requested. This left the key and default corner case of replicas=1 with
compiled in defaults, which are questionable at best and most likely harmful for our use case.
Make sure to always set sane parameters, obviously taking into account the user desires from the spec
(Replicas field).
Add more logs to make troubleshooting easier