Welcome to the Linux Foundation Forum!

Rolling Update vs Revisions

Hello,

This question is about Lesson 9, Deployments (II).

I am confused about the term revision.

The lesson states that a revision is triggered as a result of a planned action, such as an update in the container image, port, volumes, mounts... Whereas a change in the deployment template (ie update in the container image) would trigger a Rolling update.

I am confused when the lesson states that after the Rolling update has been implemented, K8s records the prior state changes of the Deployment as a Revision.

I would appreciate if someone could kindly shed some light on this.

Thank you.

Best Answer

Answers

  • josepmaria
    josepmaria Posts: 80
    edited October 7

    Following the demo "Demo: Deployment Rolling Update and Rollback", I can see that once a deployment has been rollout, it becomes Revision 1 (for the original version), then when there are changes on the Deployment template, it becomes Revision n+1 after changes have been rollout.

  • josepmaria
    josepmaria Posts: 80

    My apologies, comment above is not correct.

  • josepmaria
    josepmaria Posts: 80

    @chrispokorni , thank you.

Categories

Upcoming Training