kubeadm升级kubernetes集群 v1.15.1

升级kubeadm kubelet kubectl
yum update -y kubeadm kubelet kubectl
查看改版的容器镜像版本
kubeadm config images list 输出
k8s.gcr.io/kube-apiserver:v1.15.1
k8s.gcr.io/kube-controller-manager:v1.15.1
k8s.gcr.io/kube-scheduler:v1.15.1
k8s.gcr.io/kube-proxy:v1.15.1
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.3.10
k8s.gcr.io/coredns:1.3.1
升级控制节点
kubeadm upgrade plan
kubeadm upgrade apply v1.15.1
systemctl daemon-reload
systemctl restart kubelet
升级工作节点
kubeadm upgrade node #这里和升级1.14不一样,kubeadm upgrade node config –kubelet-version v1.14.3
systemctl daemon-reload
systemctl restart kubelet
查看升级结果:
《kubeadm升级kubernetes集群 v1.15.1》

点赞