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 kubernetes, if you do a rolling update to upgrade container images of your pods via following command (note deployment is called "kubernetes-bootcamp"):

kubectl set image deployment.v1.apps/kubernetes-bootcamp kubernetes-bootcamp=gcr.io/google-sample/kubernetes-bootcamp:v2

Assume update went bad (i.e. one or more pods are down post-update), issue command to roll back to imediate previous version

Answer
kubectl rollout undo deployment kubernetes-bootcamp


Question

In kubernetes, if you do a rolling update to upgrade container images of your pods via following command (note deployment is called "kubernetes-bootcamp"):

kubectl set image deployment.v1.apps/kubernetes-bootcamp kubernetes-bootcamp=gcr.io/google-sample/kubernetes-bootcamp:v2

Assume update went bad (i.e. one or more pods are down post-update), issue command to roll back to imediate previous version

Answer
?

Question

In kubernetes, if you do a rolling update to upgrade container images of your pods via following command (note deployment is called "kubernetes-bootcamp"):

kubectl set image deployment.v1.apps/kubernetes-bootcamp kubernetes-bootcamp=gcr.io/google-sample/kubernetes-bootcamp:v2

Assume update went bad (i.e. one or more pods are down post-update), issue command to roll back to imediate previous version

Answer
kubectl rollout undo deployment kubernetes-bootcamp


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.