-
Notifications
You must be signed in to change notification settings - Fork 555
Upgrade Kubernetes cluster from v1.23 to v1.24 or later
pixiake edited this page May 22, 2024
·
2 revisions
- Modify configmap
kubeadm-config
kubectl -n kube-system edit cm kubeadm-config
## Delete the removed featuregate: TTLAfterFinished=true
## There are three places for feature-gates in this configmap.
- Modify configmap
kubelet-config-1.23
kubectl -n kube-system edit cm kubelet-config-1.23
## Delete the removed featuregate: TTLAfterFinished=true
- Download latest kubekey
curl -sSL https://get-kk.kubesphere.io | sh -
- Start upgrade
./kk upgrade -f config-sample.yaml --with-kubernetes v1.26.5 --skip-dependency-check