Upgrade with atomic rollback

Roll back automatically if upgrade does not succeed in 5m

helm upgrade <release> ./mychart -n <ns> -f values.yaml --atomic --timeout 5m

tool
helm54 commands
tags
helm

More helm commands

  • helm upgrade <release> ./mychart --set image.tag=v1.5.0 --set replicaCount=3

    Override specific chart values from command line

  • helm get manifest <release> -n <ns>

    Print the Kubernetes YAML applied by the current release

  • helm history <release> -n <ns> && helm rollback <release> 0 -n <ns>

    Show history and roll back to previous revision (0 = latest-1)

  • helm search repo <chart> --versions | head -20

    List all available versions of a chart in configured repos

  • helm show values <repo>/<chart> --version <ver>

    Print default values.yaml for a chart version

all 54 helm commands