Kubernetes scale a deployment

To scale a deploymenet in Kubernetes using kubectl, run

kubectl scale deployment DEPLOYMENT_NAME --replicas=2

Example

kubectl scale deployment my-frontend --replicas=2

See Kubernetes

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *