k8s升级

yum -y install kubeadm kubelet kubectl
升级检查和方案
kubeadm upgrade plan
执行更新操作
kubeadm upgrade apply v1.21.2
systemctl daemon-reload
systemctl restart kubelet

Share