bhouse-nexthop opened a new issue, #14897: URL: https://github.com/apache/cloudstack/issues/14897
### Problem 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
