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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What Rollout strategies exiist?

A
  • RollingUpdate (default)
  • Recreate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can you check the status of each revision?

A

kubectl rollout history deployment nginx –revision=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can we rollback to a specific rollout version?

A

kubectl rollout undo –to-revision=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly