easykubectl

Scale the number of pod replicas in a deployment to a specified count

command

kubectl scale deployment DEPLOYMENT_NAME --replicas REPLICA_COUNT

also accepted

kubectl scale deploymentkubectl scale deploykubectl scale deploy DEPLOYMENT_NAME --replicas REPLICA_COUNT

Test your recall — not just your reading.

Practice with interactive quiz →