In kuberentes, let say you setup a one pod deployment with the following command:
kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port=8080
Issue command to scale up the deployment to 4 pods
kubectl scale deployment kubernetes-bootcamp --replicas=4
^^ after running above command, when you then run "kubectl get deployment kubernetes-bootcamp", it will show that 4 pods are in READY state in the deployment now
In kuberentes, let say you setup a one pod deployment with the following command:
kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port=8080
Issue command to scale up the deployment to 4 pods
In kuberentes, let say you setup a one pod deployment with the following command:
kubectl run kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1 --port=8080
Issue command to scale up the deployment to 4 pods
kubectl scale deployment kubernetes-bootcamp --replicas=4
^^ after running above command, when you then run "kubectl get deployment kubernetes-bootcamp", it will show that 4 pods are in READY state in the deployment now
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |