Scale a deployment
CautionSets the number of pods the deployment runs, creating or removing pods to match it.
kubectl scale deployment/deployment --replicas=3Edit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)