Set a new size for a deployment.

Set a new size for a deployment. If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guaranteed that the precondition holds true when the scale is sent to the server.

Authored by: AI
deployment_name
count

Command
Copy
kubectl scale deployment/deployment_name --replicas=count
Tags