kubectl 1.37 · Rollouts and scaling

Scale a deployment

Set the number of replicas.

kubectl scale deployment web --replicas=3

Official kubectl 1.37 documentation

More rollouts and scaling commands

All rollouts and scaling commands · kubectl 1.37 cheatsheet

Was this page helpful?