Description
i have Kubernetes clustet that i created using kubeadm command.
OS: centos7
kubeadm,kubelet,kubectl: v1.20
i created the cluster by this command:
kubeadm init --pod-network-cidr=10.244.0.0/16 --kubernetes-version=v1.20.8
the engine was docker.
now I am trying to upgrade my cluster to v1.28 using cri-dockerd as my engine.
i installed kubeadm v1.28, and run:
sudo kubeadm upgrade plan --v=5
get this error:
I1212 09:44:10.674136 21512 plan.go:251] [upgrade/plan] verifying health of cluster
I1212 09:44:10.674220 21512 plan.go:252] [upgrade/plan] retrieving configuration from cluster
[upgrade/config] Making sure the configuration is correct:
[upgrade/config] Reading configuration from the cluster...
[upgrade/config] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
W1212 09:44:10.688332 21512 cluster.go:94] error unmarshaling configuration schema.GroupVersionKind{Group:"kubeadm.k8s.io", Version:"v1beta3", Kind:"ClusterConfiguration"}: no kind "ClusterConfiguration" is registered for version "kubeadm.k8s.io/v1beta2" in scheme "cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:32"
no kind "ClusterConfiguration" is registered for version "kubeadm.k8s.io/v1beta2" in scheme "cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:32"