Goal
Create a Deployment, scale it, then roll out a new image version.
Requirements (your default namespace, lab)
- A Deployment
webrunningnginx:1.24, 3 replicas - Update the image to
nginx:1.25and let the rollout complete - All 3 replicas Ready on the new image
Use kubectl set image / kubectl scale, or edit deploy.yaml and re-apply.