Repository navigation
🐛 Stop defaulting removed kubeadm feature gate for Kubernetes 1.36+ - #10
Merged
timonwong merged 2 commits intoSep 2, 2026
Conversation
Backport the behavior from kubernetes-sigs#13177: kubernetes-sigs#13177 Kubernetes 1.36 removed ControlPlaneKubeletLocalMode, so keep the gate for 1.31-1.35 and stop defaulting it from 1.36 onward.
Adapt the release-1.11 test fixtures for the backport of kubernetes-sigs#13177: kubernetes-sigs#13177
timonwong
force-pushed
the
fix/kubeadm-1.36-controlplane-kubelet-local-mode-1.11
branch
from
September 2, 2026 07:53
3baae7f to
940d651
Compare
wgkingk
approved these changes
Sep 2, 2026
timonwong
deleted the
fix/kubeadm-1.36-controlplane-kubelet-local-mode-1.11
branch
September 2, 2026 08:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Kubernetes 1.36 graduated and removed the
ControlPlaneKubeletLocalModekubeadm feature gate. The release-1.11 KubeadmControlPlane code currently defaults this gate for every Kubernetes version >= 1.31, causing kubeadm 1.36 to reject generated configuration withControlPlaneKubeletLocalMode is not a valid feature name.This PR cherry-picks the functional fix from alauda/cluster-api#9 and adapts the release-1.11 test fixtures. The resulting branch-adapted backport limits the default to Kubernetes versions 1.31 <= version < 1.36. Existing feature gates are preserved, and regression coverage covers both the defaulting function and the kubeadm-config update path.
Upstream reference: kubernetes-sigs/cluster-api#13177
Cherry-pick source commit:
10ff31a55e664b734e855cbbcddd982b36222240Fixes #