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.
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 →
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
- Identify the worker node name with
kubectl get nodes - Drain the worker node
- SSH to the worker; upgrade
kubeadm, runkubeadm upgrade node, then upgradekubeletandkubectltov1.35.1with the package manager and restart the kubelet - 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.
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.