Hi
I was working on ligthning lab 1 in the fourth exercise Certified Kubernetes Application Developer (CKAD) | KodeKloud , and I got the answer wrong because I did not specify the
imagePullPolicy: IfNotPresent
in the container
the question was:
Create a new deployment called
nginx-deploy
, with one single container callednginx
, imagenginx:1.16
and4
replicas. The deployment should useRollingUpdate
strategy withmaxSurge=1
, andmaxUnavailable=2
.
Next upgrade the deployment to version1.17
.
Finally, once all pods are updated, undo the update and go back to the previous version.
Did I miss something ?
do I have to mark imagePullPolicy: IfNotPresent
in my deployments for the CKAD ?