Scaling pods manually

Pods can easily be scaled by updating the number of replicas. Try getting your pods by using the kubectl get pods command and increase the number of replicas by using the following command:

kubectl scale --replicas=[number of pods] deployment/[deploymentname]

With this command, the pods are scaled up or down depending on the number of replicas. The up or specified scaling is down as per deployment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.70.203