Main Menu

Search

KUBERNETES: Kubectl Command To Scale Up & Down Number Of Replicas For Deployments (DevOps)

Below is command:

kubectl scale --replicas=<no of replicas> deployment <deployment name> -n <namespace>

For e.g.

kubectl scale --replicas=3 deployment tomcat -n tomcat

No comments:

Post a Comment