github.com/darkowlzz/helm@v2.5.1-0.20171213183701-6707fe0468d4+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        --ca-file string       verify certificates of HTTPS-enabled servers using this CA bundle
    40        --cert-file string     identify HTTPS client using this SSL certificate file
    41        --devel                use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
    42        --dry-run              simulate an upgrade
    43        --force                force resource update through delete/recreate if needed
    44    -i, --install              if a release by this name doesn't already exist, run an install
    45        --key-file string      identify HTTPS client using this SSL key file
    46        --keyring string       path to the keyring that contains public signing keys (default "~/.gnupg/pubring.gpg")
    47        --namespace string     namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace
    48        --no-hooks             disable pre/post upgrade hooks
    49        --recreate-pods        performs pods restart for the resource if applicable
    50        --repo string          chart repository url where to locate the requested chart
    51        --reset-values         when upgrading, reset the values to the ones built into the chart
    52        --reuse-values         when upgrading, reuse the last release's values, and merge in any new values. If '--reset-values' is specified, this is ignored.
    53        --set stringArray      set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
    54        --timeout int          time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
    55        --tls                  enable TLS for request
    56        --tls-ca-cert string   path to TLS CA certificate file (default "$HELM_HOME/ca.pem")
    57        --tls-cert string      path to TLS certificate file (default "$HELM_HOME/cert.pem")
    58        --tls-key string       path to TLS key file (default "$HELM_HOME/key.pem")
    59        --tls-verify           enable TLS for request and verify remote
    60    -f, --values valueFiles    specify values in a YAML file or a URL(can specify multiple) (default [])
    61        --verify               verify the provenance of the chart before upgrading
    62        --version string       specify the exact chart version to use. If this is not specified, the latest version is used
    63        --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
    64  ```
    65  
    66  ### Options inherited from parent commands
    67  
    68  ```
    69        --debug                     enable verbose output
    70        --home string               location of your Helm config. Overrides $HELM_HOME (default "~/.helm")
    71        --host string               address of Tiller. Overrides $HELM_HOST
    72        --kube-context string       name of the kubeconfig context to use
    73        --kubeconfig string         path to kubeconfig file. Overrides $KUBECONFIG
    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 7-Nov-2017