What is the result?
kubectl scale deployment api --replicas=5
- The deployment runs five pods
- Five brand-new deployments appear
- The pod restart limit becomes five
- Five nodes join the cluster now
The replica count is the desired number of pod copies.
Play DevOps ▸