Back to questions
JuniorTheoryVery common
web ran nginx:1.27.2 before these commands; which image does it run after them?
kubectl set image deployment/web web=nginx:1.27.3
kubectl set image deployment/web web=nginx:1.27.4
kubectl rollout undo deployment/webnginx:1.27.3
- Expecting
rollout undoto return to the very first version rather than the previous revision - Expecting a second
undoto go further back — it returns to 1.27.4, because the undo itself became a new revision
- Which command lists a Deployment's revisions so that you can pick one?
- Does
rollout undorestore a changedreplicascount?