Welcome to the Linux Foundation Forum!

5 - Deployment Rollback missing --record on 'set' ?

Is the set command missing --record ?

  1. Should an update fail, due to an improper image version, for example, you can roll back the change to a working version with kubectl rollout undo:
  2.  
  3. $ kubectl set image deployment/ghost ghost=ghost:0.9 --all
  4. $ kubectl rollout history deployment/ghost deployments "ghost":
  5. REVISION CHANGE-CAUSE
  6. 1 <none>
  7. 2 kubectl set image deployment/ghost ghost=ghost:0.9 --all

Comments

  • Posts: 2,451

    Good catch @bkclements!
    A --record flag should be included with the set image command.
    This should be corrected in a future course update release.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training