Directly scale a ReplicaSet when needed.
Section: Autoscaling
Scale replicaset
bash
bash
kubectl scale replicaset web-7cbb9f9d44 --replicas=0 -n paymentsExplanation
Directly scale a ReplicaSet when needed.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Autoscaling