CKA v1.35 · Workloads and Scheduling (15%) → "Understand application deployments and how to perform rolling update and rollbacks" → "Configure workload autoscaling" Target time: 12 minutes
Namespace ship runs Deployment web at image nginx:1.26-alpine.
Set its update strategy to RollingUpdate with maxSurge=1 and maxUnavailable=0 (zero-downtime).
Roll it forward to nginx:1.27-alpine and wait for the rollout to
complete.
Then ROLL IT BACK. The running image must end up nginx:1.26-alpine
again, with the rollout history showing you went forward and back —
do not just re-edit the image field back.
Add a HorizontalPodAutoscaler web targeting the Deployment:
min 2, max 6, on 70% average CPU utilisation.
The Deployment must be healthy at the end.