-
Notifications
You must be signed in to change notification settings - Fork 42.2k
Automated cherry pick of #94398: kubeadm: make the scheduler and KCM connect to local endpoint #94442
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
Automated cherry pick of #94398: kubeadm: make the scheduler and KCM connect to local endpoint #94442
Conversation
Pinning the kube-controller-manager and kube-scheduler kubeconfig files to point to the control-plane-endpoint can be problematic during immutable upgrades if one of these components ends up contacting an N-1 kube-apiserver: https://kubernetes.io/docs/setup/release/version-skew-policy/#kube-controller-manager-kube-scheduler-and-cloud-controller-manager For example, the components can send a request for a non-existing API version. Instead of using the CPE for these components, use the LocalAPIEndpoint. This guarantees that the components would talk to the local kube-apiserver, which should be the same version, unless the user explicitly patched manifests.
|
/priority critical-urgent /assign @fabriziopandini |
|
@kubernetes/release-managers |
|
/approve |
|
@kubernetes/release-managers |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, neolit123 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #94398 on release-1.19.
#94398: kubeadm: make the scheduler and KCM connect to local endpoint
For details on the cherry pick process, see the cherry pick requests page.