github.com/valdemarpavesi/helm@v2.9.1+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, to force string 18 values, use '--set-string'. 19 20 You can specify the '--values'/'-f' flag multiple times. The priority will be given to the 21 last (right-most) file specified. For example, if both myvalues.yaml and override.yaml 22 contained a key called 'Test', the value set in override.yaml would take precedence: 23 24 $ helm upgrade -f myvalues.yaml -f override.yaml redis ./redis 25 26 You can specify the '--set' flag multiple times. The priority will be given to the 27 last (right-most) set specified. For example, if both 'bar' and 'newbar' values are 28 set for a key called 'foo', the 'newbar' value would take precedence: 29 30 $ helm upgrade --set foo=bar --set foo=newbar redis ./redis 31 32 33 ``` 34 helm upgrade [RELEASE] [CHART] 35 ``` 36 37 ### Options 38 39 ``` 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-0'. 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). Defaults to the current kube config namespace 49 --no-hooks disable pre/post upgrade hooks 50 --password string chart repository password where to locate the requested chart 51 --recreate-pods performs pods restart for the resource if applicable 52 --repo string chart repository url where to locate the requested chart 53 --reset-values when upgrading, reset the values to the ones built into the chart 54 --reuse-values when upgrading, reuse the last release's values, and merge in any new values. If '--reset-values' is specified, this is ignored. 55 --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 56 --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) 57 --timeout int time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300) 58 --tls enable TLS for request 59 --tls-ca-cert string path to TLS CA certificate file (default "$HELM_HOME/ca.pem") 60 --tls-cert string path to TLS certificate file (default "$HELM_HOME/cert.pem") 61 --tls-key string path to TLS key file (default "$HELM_HOME/key.pem") 62 --tls-verify enable TLS for request and verify remote 63 --username string chart repository username where to locate the requested chart 64 -f, --values valueFiles specify values in a YAML file or a URL(can specify multiple) (default []) 65 --verify verify the provenance of the chart before upgrading 66 --version string specify the exact chart version to use. If this is not specified, the latest version is used 67 --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 68 ``` 69 70 ### Options inherited from parent commands 71 72 ``` 73 --debug enable verbose output 74 --home string location of your Helm config. Overrides $HELM_HOME (default "~/.helm") 75 --host string address of Tiller. Overrides $HELM_HOST 76 --kube-context string name of the kubeconfig context to use 77 --tiller-connection-timeout int the duration (in seconds) Helm will wait to establish a connection to tiller (default 300) 78 --tiller-namespace string namespace of Tiller (default "kube-system") 79 ``` 80 81 ### SEE ALSO 82 * [helm](helm.md) - The Helm package manager for Kubernetes. 83 84 ###### Auto generated by spf13/cobra on 20-Mar-2018