github.com/darkowlzz/helm@v2.5.1-0.20171213183701-6707fe0468d4+incompatible/docs/helm/helm_install.md (about)

     1  ## helm install
     2  
     3  install a chart archive
     4  
     5  ### Synopsis
     6  
     7  
     8  
     9  This command installs a chart archive.
    10  
    11  The install argument must be a chart reference, a path to a packaged chart,
    12  a path to an unpacked chart directory or a URL.
    13  
    14  To override values in a chart, use either the '--values' flag and pass in a file
    15  or use the '--set' flag and pass configuration from the command line.
    16  
    17  	$ helm install -f myvalues.yaml ./redis
    18  
    19  or
    20  
    21  	$ helm install --set name=prod ./redis
    22  
    23  You can specify the '--values'/'-f' flag multiple times. The priority will be given to the
    24  last (right-most) file specified. For example, if both myvalues.yaml and override.yaml
    25  contained a key called 'Test', the value set in override.yaml would take precedence:
    26  
    27  	$ helm install -f myvalues.yaml -f override.yaml ./redis
    28  
    29  You can specify the '--set' flag multiple times. The priority will be given to the
    30  last (right-most) set specified. For example, if both 'bar' and 'newbar' values are
    31  set for a key called 'foo', the 'newbar' value would take precedence:
    32  
    33  	$ helm install --set foo=bar --set foo=newbar ./redis
    34  
    35  
    36  To check the generated manifests of a release without installing the chart,
    37  the '--debug' and '--dry-run' flags can be combined. This will still require a
    38  round-trip to the Tiller server.
    39  
    40  If --verify is set, the chart MUST have a provenance file, and the provenance
    41  file MUST pass all verification steps.
    42  
    43  There are five different ways you can express the chart you want to install:
    44  
    45  1. By chart reference: helm install stable/mariadb
    46  2. By path to a packaged chart: helm install ./nginx-1.2.3.tgz
    47  3. By path to an unpacked chart directory: helm install ./nginx
    48  4. By absolute URL: helm install https://example.com/charts/nginx-1.2.3.tgz
    49  5. By chart reference and repo url: helm install --repo https://example.com/charts/ nginx
    50  
    51  CHART REFERENCES
    52  
    53  A chart reference is a convenient way of reference a chart in a chart repository.
    54  
    55  When you use a chart reference with a repo prefix ('stable/mariadb'), Helm will look in the local
    56  configuration for a chart repository named 'stable', and will then look for a
    57  chart in that repository whose name is 'mariadb'. It will install the latest
    58  version of that chart unless you also supply a version number with the
    59  '--version' flag.
    60  
    61  To see the list of chart repositories, use 'helm repo list'. To search for
    62  charts in a repository, use 'helm search'.
    63  
    64  
    65  ```
    66  helm install [CHART]
    67  ```
    68  
    69  ### Options
    70  
    71  ```
    72        --ca-file string         verify certificates of HTTPS-enabled servers using this CA bundle
    73        --cert-file string       identify HTTPS client using this SSL certificate file
    74        --dep-up                 run helm dependency update before installing the chart
    75        --devel                  use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
    76        --dry-run                simulate an install
    77        --key-file string        identify HTTPS client using this SSL key file
    78        --keyring string         location of public keys used for verification (default "~/.gnupg/pubring.gpg")
    79    -n, --name string            release name. If unspecified, it will autogenerate one for you
    80        --name-template string   specify template used to name the release
    81        --namespace string       namespace to install the release into. Defaults to the current kube config namespace.
    82        --no-hooks               prevent hooks from running during install
    83        --replace                re-use the given name, even if that name is already used. This is unsafe in production
    84        --repo string            chart repository url where to locate the requested chart
    85        --set stringArray        set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
    86        --timeout int            time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
    87        --tls                    enable TLS for request
    88        --tls-ca-cert string     path to TLS CA certificate file (default "$HELM_HOME/ca.pem")
    89        --tls-cert string        path to TLS certificate file (default "$HELM_HOME/cert.pem")
    90        --tls-key string         path to TLS key file (default "$HELM_HOME/key.pem")
    91        --tls-verify             enable TLS for request and verify remote
    92    -f, --values valueFiles      specify values in a YAML file or a URL(can specify multiple) (default [])
    93        --verify                 verify the package before installing it
    94        --version string         specify the exact chart version to install. If this is not specified, the latest version is installed
    95        --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
    96  ```
    97  
    98  ### Options inherited from parent commands
    99  
   100  ```
   101        --debug                     enable verbose output
   102        --home string               location of your Helm config. Overrides $HELM_HOME (default "~/.helm")
   103        --host string               address of Tiller. Overrides $HELM_HOST
   104        --kube-context string       name of the kubeconfig context to use
   105        --kubeconfig string         path to kubeconfig file. Overrides $KUBECONFIG
   106        --tiller-namespace string   namespace of Tiller (default "kube-system")
   107  ```
   108  
   109  ### SEE ALSO
   110  * [helm](helm.md)	 - The Helm package manager for Kubernetes.
   111  
   112  ###### Auto generated by spf13/cobra on 23-Nov-2017