Challenge - 5 Problems
Cluster Upgrade Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Rolling Upgrade Strategy
Which statement best describes the rolling upgrade strategy in Kubernetes cluster upgrades?
Attempts:
2 left
💡 Hint
Think about how to keep the cluster available during upgrades.
✗ Incorrect
The rolling upgrade strategy upgrades nodes one by one, ensuring the cluster remains available without downtime.
💻 Command Output
intermediate2:00remaining
Output of draining a node before upgrade
What is the expected output when running
kubectl drain node-1 --ignore-daemonsets --delete-local-data?Kubernetes
kubectl drain node-1 --ignore-daemonsets --delete-local-dataAttempts:
2 left
💡 Hint
Draining a node marks it unschedulable and evicts pods.
✗ Incorrect
The command cordons the node (marks unschedulable) and drains pods, so the output confirms both actions.
🔀 Workflow
advanced3:00remaining
Correct sequence for a blue-green cluster upgrade
What is the correct order of steps in a blue-green upgrade strategy for Kubernetes clusters?
Attempts:
2 left
💡 Hint
Think about deploying, testing, switching traffic, then removing old cluster.
✗ Incorrect
First deploy green cluster, then test it, switch traffic, and finally remove blue cluster.
❓ Troubleshoot
advanced2:30remaining
Troubleshooting node upgrade failure due to pod eviction
During a node upgrade,
kubectl drain fails with the error: error when evicting pod: pods "my-pod" is not managed by a controller. What is the most likely cause?Attempts:
2 left
💡 Hint
Pods not managed by controllers are harder to evict.
✗ Incorrect
Static pods are created directly by kubelet and are not managed by controllers, so they cannot be evicted by drain.
✅ Best Practice
expert3:00remaining
Best practice for minimizing downtime during cluster upgrade
Which practice best minimizes downtime during a Kubernetes cluster upgrade?
Attempts:
2 left
💡 Hint
Consider how to keep pods available during node upgrades.
✗ Incorrect
Using rolling upgrades with pod disruption budgets ensures pods remain available and downtime is minimized.