HomeCKSTopicsPractice tasks › Upgrade a Worker Node by One Patch Version
CKS · Cluster Setup

Upgrade a Worker Node by One Patch Version

The worker node is running an older kubelet patch version (v1.35.0) and must be upgraded to v1.35.1. Access The upgrade is performed on the worker node itself.

Check live lab access → All CKS tasks

Live lab access

This task description is public. Live practice requires full access unless this is the selected free weekly task. See this week's free task.

Create an account to continue →

Read this week's free task →

On a phone? Read the task and create your account here, then sign in on a desktop or laptop for the terminal lab. Nothing starts until you choose Start.

The task

Task

The worker node is running an older kubelet patch version (v1.35.0) and must be upgraded to v1.35.1.

Access

The upgrade is performed on the worker node itself. SSH access is enabled - connect from this node with:

ssh root@<worker-node>   # password: Kd7wA3fX

The Kubernetes apt repository (v1.35) is already configured on the worker, so you can install specific package versions with apt-get.

Requirements

  1. Identify the worker node name with kubectl get nodes
  2. Drain the worker node
  3. SSH to the worker; upgrade kubeadm, run kubeadm upgrade node, then upgrade kubelet and kubectl to v1.35.1 with the package manager and restart the kubelet
  4. Uncordon the node

Verify that the worker node is Ready and running v1.35.1.

> Note: After restarting the kubelet, the node may take up to 60 seconds to report the new version and return to Ready.

Exam
CKS
Domain
Cluster Setup
Grading
Programmatic · partial credit

What this tests

Lock down network access, the kubelet, API authentication, and ingress TLS, and run CIS benchmark checks. On the CKS exam, Cluster Setup tasks are graded purely on what you build in the cluster - not multiple choice - so the only way to get faster is to do them on a real cluster against a clock.

Practice it for real

The public description lets you study the task before signing up. Full access includes this live lab; the selected Task of the Week is free with an account. You solve the task in a real terminal, hit validate, and a programmatic checker scores exactly what you got right and wrong (with partial credit). You can open the solution while practising, then retry and use the failed checks to improve your score.

Related CKS tasks