github.com/caicloud/helm@v2.5.0+incompatible/docs/helm/helm_upgrade.md (about) 1 ## helm upgrade 2 3 upgrade a release 4 5 ### Synopsis 6 7 8 9 This command upgrades a release to a new version of a chart. 10 11 The upgrade arguments must be a release and chart. The chart 12 argument can be either: a chart reference('stable/mariadb'), a path to a chart directory, 13 a packaged chart, or a fully qualified URL. For chart references, the latest 14 version will be specified unless the '--version' flag is set. 15 16 To override values in a chart, use either the '--values' flag and pass in a file 17 or use the '--set' flag and pass configuration from the command line. 18 19 You can specify the '--values'/'-f' flag multiple times. The priority will be given to the 20 last (right-most) file specified. For example, if both myvalues.yaml and override.yaml 21 contained a key called 'Test', the value set in override.yaml would take precedence: 22 23 $ helm upgrade -f myvalues.yaml -f override.yaml redis ./redis 24 25 You can specify the '--set' flag multiple times. The priority will be given to the 26 last (right-most) set specified. For example, if both 'bar' and 'newbar' values are 27 set for a key called 'foo', the 'newbar' value would take precedence: 28 29 $ helm upgrade --set foo=bar --set foo=newbar redis ./redis 30 31 32 ``` 33 helm upgrade [RELEASE] [CHART] 34 ``` 35 36 ### Options 37 38 ``` 39 --annotations stringArray set release annotations (can specify multiple or separate values with commas: key1=val1,key2=val2) 40 --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle 41 --cert-file string identify HTTPS client using this SSL certificate file 42 --devel use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored. 43 --dry-run simulate an upgrade 44 --force force resource update through delete/recreate if needed 45 -i, --install if a release by this name doesn't already exist, run an install 46 --key-file string identify HTTPS client using this SSL key file 47 --keyring string path to the keyring that contains public signing keys (default "~/.gnupg/pubring.gpg") 48 --namespace string namespace to install the release into (only used if --install is set) (default "default") 49 --no-hooks disable pre/post upgrade hooks 50 --recreate-pods performs pods restart for the resource if applicable 51 --repo string chart repository url where to locate the requested chart 52 --reset-values when upgrading, reset the values to the ones built into the chart 53 --reuse-values when upgrading, reuse the last release's values, and merge in any new values. If '--reset-values' is specified, this is ignored. 54 --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 55 --timeout int time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300) 56 --tls enable TLS for request 57 --tls-ca-cert string path to TLS CA certificate file (default "$HELM_HOME/ca.pem") 58 --tls-cert string path to TLS certificate file (default "$HELM_HOME/cert.pem") 59 --tls-key string path to TLS key file (default "$HELM_HOME/key.pem") 60 --tls-verify enable TLS for request and verify remote 61 -f, --values valueFiles specify values in a YAML file (can specify multiple) (default []) 62 --verify verify the provenance of the chart before upgrading 63 --version string specify the exact chart version to use. If this is not specified, the latest version is used 64 --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. It will wait for as long as --timeout 65 ``` 66 67 ### Options inherited from parent commands 68 69 ``` 70 --debug enable verbose output 71 --home string location of your Helm config. Overrides $HELM_HOME (default "$HOME/.helm") 72 --host string address of Tiller. Overrides $HELM_HOST 73 --kube-context string name of the kubeconfig context to use 74 --tiller-namespace string namespace of Tiller (default "kube-system") 75 ``` 76 77 ### SEE ALSO 78 * [helm](helm.md) - The Helm package manager for Kubernetes. 79 80 ###### Auto generated by spf13/cobra on 12-Jul-2017