0
0
Kubernetesdevops~5 mins

Cluster upgrade strategies in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ACreate a new cluster and delete the old one
BUpgrade nodes one by one without downtime
CUpgrade all nodes at once
DPause all workloads during upgrade
Which strategy involves running two clusters simultaneously?
ABlue-green upgrade
BCanary upgrade
CRolling upgrade
DBackup and restore
Why drain a node before upgrading?
ATo delete the node
BTo backup data
CTo speed up the upgrade
DTo move workloads safely to other nodes
What does a canary upgrade test?
ABackup restoration process
BThe entire cluster upgrade at once
CA small part of the cluster with new version
DNetwork connectivity
What is a key safety step before upgrading a cluster?
ABacking up data and configurations
BIgnoring workload status
CStopping all services permanently
DDeleting old nodes immediately
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.