Deployments
Create a deployment named
hr-app
using the imagenginx:1.18
with2 replicas
Scale
hr-app
deployment to3 replicas
Update the
hr-app
image tonginx:1.19
Check the rollout history of
hr-app
and confirm that the replicas are OK.Undo the latest rollout and verify that new pods have the old image (
nginx:1.18
)Do an update of the deployment with a wrong image
nginx:1.91
and check the status.Return the deployment to working state and verify the image is nginx:1.19.
Last updated
Was this helpful?