Paths/DevOps Engineer/Kubernetes / Deployments & Scaling
Deploy and Scale a ReplicaSet
Nobody runs bare Pods in production. A Deployment keeps a chosen number of identical Pods alive and replaces any that die. Create one with 3 replicas.
Validator
IDLE — checks run live as you type commands; submit when done
01Requirements
live checks- Deployment web exists○
- Deployment web is running exactly 3 replicas○
02Walkthrough
1 of 5 revealed- 01
Create the Deployment
kubectl create deployment makes a Deployment (which creates its Pods). --replicas 3 asks the controller to keep three copies alive at all times.
kubectl create deployment web --image=nginx:1.27 --replicas=3 - 4 locked · each failed submit reveals one
03Stuck?
0 of 3 revealedTake a hint without losing the lab — each one points at the thing to look at, not at the answer.
04AI Tutor
guides, never solvesTell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?
04Notebook
saved locally in this browserlearner@lab — kubernetes 1.30 (kind)
Session is disposable
↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list