From the course: Certified Kubernetes Administrator (CKA) Cert Prep

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Performing cluster worker upgrades

Performing cluster worker upgrades

- All right, so control node is ready. Let's talk about the worker nodes. What do we need to do to upgrade the worker nodes? Depends on the worker node that you've got. I have Linux nodes, and I am going to check what we see right here. Now right here, also we need to change the packet repository to start with. Let's do that, and let's do that on both of the worker nodes. So sudo vim /etc/apt/sources.list.d/kubernetes.list, And as you can see, package repository is already on version 1.31. We need to check that here as well. So sudo vim /etc/apt/sources.list.d/kubernetes.list, and yeah, it's also set to version 1.31. So that's cool. What is next? Well, next is the procedure for upgrading the worker nodes. Now first thing that we need is, again, this apt-mark thing, and we need to run that on both nodes and make sure that we are updating to the appropriate version, 3-1.1. I'm going to copy that immediately because I want to make sure that we run that in parallel on both of the nodes so…

Contents