Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question

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

Answer
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


Question

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

Answer
?

Question

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

Answer
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


Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.