-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrading kubernetes cluster v.1.20 to v1.28 #2981
Comments
you must upgrade one minor version at a time:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/ also note that cri-dockerd is really not well supported. for more questions please use the support forums. /support |
Hello, @talsh5528 🤖 👋 You seem to have troubles using Kubernetes and kubeadm. Please see: |
@neolit123 |
there is no doc and my information could be out of date. cri-dockerd was struggling at some point to keep up with CRI changes, thus users were unable to upgrade to newer kubelets. the general recommandation is to migrate to containerd or cri-o. |
Did you make the upgrade successfully? |
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"
The text was updated successfully, but these errors were encountered: