SIMULATION
Create a deployment as follows:
Name: nginx-app
Using container nginx with version 1.11.10-alpine
The deployment should contain 3 replicas
Next, deploy the application with new version 1.11.13-alpine, by performing a rolling update.
Finally, rollback that update to the previous version 1.11.10-alpine.
Suggested Answer: A
Get Premium CKA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
solution



18 comments · newest first
CA
Casandra
2 months ago
Rolling back is just as important!
GU
Gussie
3 months ago
Right! And then check the rollout status.
AN
Antonio
3 months ago
For the update, use `kubectl set image`.
CA
Casandra
3 months ago
Yes, 3 replicas are key.
GU
Gussie
3 months ago
Just remember the replicas!
AN
Antonio
3 months ago
I think the initial deployment is straightforward.
CA
Casandra
3 months ago
Rolling updates can be confusing.
GU
Gussie
4 months ago
I feel confident about the deployment part.
AN
Antonio
4 months ago
This question is tricky!
IV
Ivory
4 months ago
I disagree, I prefer using the latest stable version always.
FE
Felicidad
4 months ago
Wait, is 1.11.10-alpine really the best choice?
MO
Mohammad
4 months ago
Rolling back is super easy, love it!
LA
Lashawn
6 months ago
I thought rolling updates were more complicated than that.
LA
Lawana
6 months ago
Just did this with 3 replicas, works like a charm!
LA
Latricia
7 months ago
I definitely practiced rolling back deployments, but I can't remember if I need to specify the revision number or just the previous version.
SH
Sharmaine
7 months ago
I’m a bit confused about how to specify the version during the rolling update. Was it in the same command or a separate one?
EL
Elin
7 months ago
This question feels similar to the practice we did on Kubernetes deployments last week. I hope I can recall the commands correctly.
BE
Bev
7 months ago
I think I remember how to create a deployment, but I'm not entirely sure about the exact syntax for the rolling update.