Recall & Review
beginner
What is a rolling upgrade in Kubernetes?
A rolling upgrade updates nodes one at a time to avoid downtime. It keeps the cluster running while upgrading each node sequentially.
Click to reveal answer
beginner
Why is it important to drain a node before upgrading it?
Draining a node safely moves running workloads to other nodes. This prevents service disruption during the upgrade.
Click to reveal answer
intermediate
What is a blue-green upgrade strategy?
Blue-green upgrade runs two parallel clusters: one active (blue) and one idle (green). After upgrading green, traffic switches to it, minimizing downtime.
Click to reveal answer
intermediate
How does a canary upgrade reduce risk?
A canary upgrade updates a small part of the cluster first. It tests the new version with limited users before full rollout, catching issues early.
Click to reveal answer
beginner
What role does backup play in cluster upgrades?
Backups protect data and configurations. They allow restoring the cluster if the upgrade fails or causes problems.
Click to reveal answer
What is the main goal of a rolling upgrade?
✗ Incorrect
A rolling upgrade updates nodes sequentially to keep the cluster available.
Which strategy involves running two clusters simultaneously?
✗ Incorrect
Blue-green upgrade uses two clusters to switch traffic after upgrade.
Why drain a node before upgrading?
✗ Incorrect
Draining moves workloads to avoid disruption during upgrade.
What does a canary upgrade test?
✗ Incorrect
Canary upgrades test new versions on a small subset first.
What is a key safety step before upgrading a cluster?
✗ Incorrect
Backups allow recovery if upgrade fails.
Explain the differences between rolling, blue-green, and canary upgrade strategies in Kubernetes.
Think about how each strategy handles risk and downtime.
You got /3 concepts.
Describe the steps you would take to safely upgrade a Kubernetes cluster.
Consider preparation, execution, and validation phases.
You got /5 concepts.