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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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