Helm rollback to previous release

前端 未结 5 511
花落未央
花落未央 2021-02-05 03:38

I am looking for a way to rollback a helm release to its previous release without specifying the target release version as a number.

Something like helm rollback &

5条回答
  •  遥遥无期
    2021-02-05 04:15

    Using Helm

    helm rollback release-name 0

    Using kubectl

    What does rollout/rollback in kubectl means? Rolling updates allow the following actions:

    1. Promote an application from one environment to another (via container image updates).
    2. Rollback to previous versions.
    3. Continuous Integration and Continuous Delivery of applications with zero downtime.

    kubectl rollout undo deployment/deployment-name

    or

    kubectl rollout undo deployment/deployment-name --to-revision=0

提交回复
热议问题