easykubectl
Scale a Kubernetes deployment to a specific replica count and verify
command
kubectl scale deployment web-api --replicas=8also accepted
kubectl scale deployment web-api --replicas=8 && kubectl get deployment web-apicommand
kubectl scale deployment web-api --replicas=8also accepted
kubectl scale deployment web-api --replicas=8 && kubectl get deployment web-apiPart of the Kubernetes CLI (kubectl) — GKE category.
| Flag | Purpose |
|---|---|
--replicas | Set to: 8 |
Test your recall — not just your reading.
Practice with interactive quiz →