Kubernetes Certification Exam Self-study Series | Upgrade Steps

Book source: "CKA/CKAD Test Guide: From Docker to Kubernetes Complete Raiders"

Organize the reading notes while studying, and share them with everyone. If the copyright is violated, it will be deleted. Thank you for your support!

Attach a summary post: Kubernetes Certification Exam Self-study Series | Summary_COCOgsta's Blog-CSDN Blog


Because the kubernetes cluster is installed through kuberadm, and then initialize and install all other components through kubeadm. Therefore, when upgrading the kubernetes cluster, it must be upgraded in a certain order.

  1. Node upgrade steps

Upgrade the master first, and then upgrade the workers. If there are multiple masters, you need to upgrade one platform, and finally upgrade the workers.

  1. Software upgrade steps

Regardless of whether it is a master or a worker, first upgrade kubeadm, then execute kubeadm upgrade, and then upgrade kubelet and kubectl.

Figure 4-1 shows the topology diagram of the upgrade in this chapter.

The entire upgrade process is as follows.

(1) Upgrade the master, that is, kubeadm on vms15.

(2) Upgrade other components on the master.

(3) Upgrade the worker, that is, kubeadm on vms16.

(4) Upgrade other components on the worker.

Guess you like

Origin blog.csdn.net/guolianggsta/article/details/130513225