Upgrade with automatic rollback

Rolls back automatically if the upgrade does not succeed within 5 minutes

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

    Overrides single chart values from the command line

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

    All Kubernetes manifests generated by this Helm release

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

    Shows the history and rolls back to the previous revision (0 = latest-1)

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

    Lists all chart versions available in your configured repos

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

    Prints the default values.yaml for a specific chart version

all 54 helm commands