You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: kubeadm config uses v1beta3, which kubeadm 1.37 rejects #14897
For a cluster with external etcd nodes, CKS writes /etc/kubernetes/kubeadm-config.yaml with apiVersion: kubeadm.k8s.io/v1beta3 for every Kubernetes version and runs kubeadm init --config with it.
v1beta4 replaced v1beta3 in Kubernetes 1.31. kubeadm 1.37 no longer reads v1beta3:
error: your configuration file uses an old API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use kubeadm v1.36 instead and run 'kubeadm config migrate ...'
So kubeadm init fails for an external etcd cluster on 1.37 or later. kubeadm before 1.31 doesn't know v1beta4, so the version has to depend on the cluster's Kubernetes version.
Expected
v1beta4 for Kubernetes 1.31 and later, v1beta3 for older versions.
Activity