POD Design - Rolling Updates & Rollbacks in Deployments Flashcards
1
Q
What happens, when you create a deployment?
A
- created deployment creates a new rollout
- and a new revision
- When versions are updated a new deployment revision is created
2
Q
What Rollout strategies exiist?
A
- RollingUpdate (default)
- Recreate
3
Q
How can you check the status of each revision?
A
kubectl rollout history deployment nginx –revision=1
4
Q
How can we rollback to a specific rollout version?
A
kubectl rollout undo –to-revision=1