$ ./guess_the_languageDevOps
DevOps · medium · #43

What does this command do?

kubectl scale deployment web --replicas=5
  1. Sets the deployment to run 5 pod replicas
  2. Creates five brand-new deployments
  3. Limits each pod to five CPU cores
  4. Rolls the deployment back five revisions
kubectl scale adjusts the "web" deployment to maintain 5 running pod replicas.
Play DevOps ▸