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
kubeadm: introduce the WaitForAllControlPlaneComponents feature gate #123341
kubeadm: introduce the WaitForAllControlPlaneComponents feature gate #123341
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: neolit123 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 |
this is a follow up on cc @tommas1988 i decided to send this PR in the shape i think it has to be. |
/triage accepted |
WaitForAllControlPlaneComponents is a new feature gate that can be used to tell kubeadm to wait for all control plane components and not only kube-apiserver. - Add the Waiter function WaitForControlPlaneComponents that waits for all CP components in parallel. Uses the regular healthz endpoint for checks of status 200. - Add a new experimental phase to kubeadm join called "wait-control-plane". A similar phase exists for kubeadm init.
6cb197d
to
7db7222
Compare
/retest |
/hold |
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
LGTM label has been added. Git tree hash: 71181430f65b2a4d1e4c6aaca4fe49d78df493e0
|
waiting for #123271 to have green e2e CI first. |
/cc @pacoxu
CI is green after that PR. |
if there are no more reviews i will unhold this PR on Thursday (29th Feb, 2024) and add a test so that it can run for one day in CI. |
/lgtm Do we need some e2e tests for this new FG? |
/unhold |
/hold yes, i will add e2e. |
e2e PRs are waiting |
/hold cancel |
What type of PR is this?
/kind feature
(there is no KEP for this)
What this PR does / why we need it:
WaitForAllControlPlaneComponents is a new feature gate that can be used to tell kubeadm to wait for all control plane components and not only kube-apiserver.
Which issue(s) this PR fixes:
xref #119598
xref kubernetes/kubeadm#2907
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: