Repository navigation
🐛 Stop defaulting removed kubeadm feature gate for Kubernetes 1.36+ - #9
Merged
timonwong merged 1 commit 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.
timonwong
force-pushed
the
fix/kubeadm-1.36-controlplane-kubelet-local-mode
branch
from
September 2, 2026 07:53
b6a22ec to
10ff31a
Compare
wgkingk
approved these changes
Sep 2, 2026
timonwong
deleted the
fix/kubeadm-1.36-controlplane-kubelet-local-mode
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.10 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 is a branch-adapted backport of upstream kubernetes-sigs/cluster-api#13177. It 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
Fixes #