helm命令

helm系列之-helm常用命令 搜索charthelm pull:下载chart到本地目录查看:上传chart到Kuberneteshelm list:列出已发布的chart名称描述设置一个存储缓存文件的可选位置设置一个存储Helm配置的可选位置设置一个存储Helm数据的可选位置表示Helm是否在Debug模式运行设置后台存储驱动,可选值包括:configmap, secret, memory, sql设置SQL存储驱动使用连接字符串设置发布历史记录的最大值设置用于helm操作的命名空间。 阅读详情

HELM

The Helm package manager for Kubernetes.

Synopsis

The Kubernetes package manager

To begin working with Helm, run the ‘helm init’ command:

$ helm init

This will install Tiller to your running Kubernetes cluster. It will also set up any necessary local configuration.

Common actions from this point include:

  • helm search: search for charts
  • helm fetch: download a chart to your local directory to view
  • helm install: upload the chart to Kubernetes
  • helm list: list releases of charts

Environment: $HELM-HOME set an alternative location for Helm files. By default, these are stored in ~/.helm $HELM-HOST set an alternative Tiller host. The format is host:port $HELM-NO-PLUGINS disable plugins. Set HELM-NO-PLUGINS=1 to disable plugins. $TILLER-NAMESPACE set an alternative Tiller namespace (default “kube-system”) $KUBECONFIG set an alternative Kubernetes configuration file (default “~/.kube/config”) $HELM-TLS-CA-CERT path to TLS CA certificate used to verify the Helm client and Tiller server certificates (default “$HELM-HOME/ca.pem”) $HELM-TLS-CERT path to TLS client certificate file for authenticating to Tiller (default “$HELM-HOME/cert.pem”) $HELM-TLS-KEY path to TLS client key file for authenticating to Tiller (default “$HELM-HOME/key.pem”) $HELM-TLS-VERIFY enable TLS connection between Helm and Tiller and verify Tiller server certificate (default “false”) $HELM-TLS-ENABLE enable TLS connection between Helm and Tiller (default “false”) $HELM-KEY-PASSPHRASE set HELM-KEY-PASSPHRASE to the passphrase of your PGP private key. If set, you will not be prompted for the passphrase while signing helm charts

Options

      --debug                           enable verbose output
  -h, --help                            help for helm
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 16-Oct-2018

HELM COMPLETION

Generate autocompletions script for the specified shell (bash or zsh)

Synopsis

Generate autocompletions script for Helm for the specified shell (bash or zsh).

This command can generate shell autocompletions. e.g.

$ helm completion bash

Can be sourced as such

$ source <(helm completion bash)
helm completion SHELL [flags]

Options

  -h, --help   help for completion

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM CREATE

create a new chart with the given name

Synopsis

This command creates a chart directory along with the common files and directories used in a chart.

For example, ‘helm create foo’ will create a directory structure that looks something like this:

foo/
  |
  |- .helmignore        # Contains patterns to ignore when packaging Helm charts.
  |
  |- Chart.yaml         # Information about your chart
  |
  |- values.yaml        # The default values for your templates
  |
  |- charts/            # Charts that this chart depends on
  |
  |- templates/         # The template files
  |
  |- templates/tests/   # The test files

‘helm create’ takes a path for an argument. If directories in the given path do not exist, Helm will attempt to create them as it goes. If the given destination exists and there are files in that directory, conflicting files will be overwritten, but other files will be left alone.

helm create NAME [flags]

Options

  -h, --help             help for create
  -p, --starter string   the named Helm starter scaffold

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 18-Sep-2018

HELM DELETE

given a release name, delete the release from Kubernetes

Synopsis

This command takes a release name, and then deletes the release from Kubernetes. It removes all of the resources associated with the last release of the chart.

Use the ‘–dry-run’ flag to see which releases will be deleted without actually deleting them.

helm delete [flags] RELEASE-NAME [...]

Options

      --description string    specify a description for the release
      --dry-run               simulate a delete
  -h, --help                  help for delete
      --no-hooks              prevent hooks from running during deletion
      --purge                 remove the release from the store and make its name free for later use
      --timeout int           time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

HELM DEPENDENCY

manage a chart’s dependencies

Synopsis

Manage the dependencies of a chart.

Helm charts store their dependencies in ‘charts/’. For chart developers, it is often easier to manage a single dependency file (‘requirements.yaml’) which declares all dependencies.

The dependency commands operate on that file, making it easy to synchronize between the desired dependencies and the actual dependencies stored in the ‘charts/’ directory.

A ‘requirements.yaml’ file is a YAML file in which developers can declare chart dependencies, along with the location of the chart and the desired version. For example, this requirements file declares two dependencies:

# requirements.yaml
dependencies:
- name: nginx
  version: "1.2.3"
  repository: "https://example.com/charts"
- name: memcached
  version: "3.2.1"
  repository: "https://another.example.com/charts"

The ‘name’ should be the name of a chart, where that name must match the name in that chart’s ‘Chart.yaml’ file.

The ‘version’ field should contain a semantic version or version range.

The ‘repository’ URL should point to a Chart Repository. Helm expects that by appending ‘/index.yaml’ to the URL, it should be able to retrieve the chart repository’s index. Note: ‘repository’ can be an alias. The alias must start with ‘alias:’ or ‘@’.

Starting from 2.2.0, repository can be defined as the path to the directory of the dependency charts stored locally. The path should start with a prefix of “file://“. For example,

# requirements.yaml
dependencies:
- name: nginx
  version: "1.2.3"
  repository: "file://../dependency-chart/nginx"

If the dependency chart is retrieved locally, it is not required to have the repository added to helm by “helm add repo”. Version matching is also supported for this case.

Options

  -h, --help   help for dependency

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM DEPENDENCY BUILD

rebuild the charts/ directory based on the requirements.lock file

Synopsis

Build out the charts/ directory from the requirements.lock file.

Build is used to reconstruct a chart’s dependencies to the state specified in the lock file. This will not re-negotiate dependencies, as ‘helm dependency update’ does.

If no lock file is found, ‘helm dependency build’ will mirror the behavior of ‘helm dependency update’.

helm dependency build [flags] CHART

Options

  -h, --help             help for build
      --keyring string   keyring containing public keys (default "~/.gnupg/pubring.gpg")
      --verify           verify the packages against signatures

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM DEPENDENCY LIST

list the dependencies for the given chart

Synopsis

List all of the dependencies declared in a chart.

This can take chart archives and chart directories as input. It will not alter the contents of a chart.

This will produce an error if the chart cannot be loaded. It will emit a warning if it cannot find a requirements.yaml.

helm dependency list [flags] CHART

Options

  -h, --help   help for list

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM DEPENDENCY UPDATE

update charts/ based on the contents of requirements.yaml

Synopsis

Update the on-disk dependencies to mirror the requirements.yaml file.

This command verifies that the required charts, as expressed in ‘requirements.yaml’, are present in ‘charts/’ and are at an acceptable version. It will pull down the latest charts that satisfy the dependencies, and clean up old dependencies.

On successful update, this will generate a lock file that can be used to rebuild the requirements to an exact version.

Dependencies are not required to be represented in ‘requirements.yaml’. For that reason, an update command will not remove charts unless they are (a) present in the requirements.yaml file, but (b) at the wrong version.

helm dependency update [flags] CHART

Options

  -h, --help             help for update
      --keyring string   keyring containing public keys (default "~/.gnupg/pubring.gpg")
      --skip-refresh     do not refresh the local repository cache
      --verify           verify the packages against signatures

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM FETCH

download a chart from a repository and (optionally) unpack it in local directory

Synopsis

Retrieve a package from a package repository, and download it locally.

This is useful for fetching packages to inspect, modify, or repackage. It can also be used to perform cryptographic verification of a chart without installing the chart.

There are options for unpacking the chart after download. This will create a directory for the chart and uncompress into that directory.

If the –verify flag is specified, the requested chart MUST have a provenance file, and MUST pass the verification process. Failure in any part of this will result in an error, and the chart will not be saved locally.

helm fetch [flags] [chart URL | repo/chartname] [...]

Options

      --ca-file string       verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string     identify HTTPS client using this SSL certificate file
  -d, --destination string   location to write the chart. If this and tardir are specified, tardir is appended to this (default ".")
      --devel                use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
  -h, --help                 help for fetch
      --key-file string      identify HTTPS client using this SSL key file
      --keyring string       keyring containing public keys (default "~/.gnupg/pubring.gpg")
      --password string      chart repository password
      --prov                 fetch the provenance file, but don't perform verification
      --repo string          chart repository url where to locate the requested chart
      --untar                if set to true, will untar the chart after downloading it
      --untardir string      if untar is specified, this flag specifies the name of the directory into which the chart is expanded (default ".")
      --username string      chart repository username
      --verify               verify the package against its signature
      --version string       specific version of a chart. Without this, the latest version is fetched

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM GET

download a named release

Synopsis

This command shows the details of a named release.

It can be used to get extended information about the release, including:

  • The values used to generate the release
  • The chart used to generate the release
  • The generated manifest file

By default, this prints a human readable collection of information about the chart, the supplied values, and the generated manifest file.

helm get [flags] RELEASE-NAME

Options

  -h, --help                  help for get
      --revision int32        get the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Sep-2018

HELM GET HOOKS

download all hooks for a named release

Synopsis

This command downloads hooks for a given release.

Hooks are formatted in YAML and separated by the YAML ‘—\n’ separator.

helm get hooks [flags] RELEASE-NAME

Options

  -h, --help                  help for hooks
      --revision int32        get the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 10-Aug-2018

HELM GET MANIFEST

download the manifest for a named release

Synopsis

This command fetches the generated manifest for a given release.

A manifest is a YAML-encoded representation of the Kubernetes resources that were generated from this release’s chart(s). If a chart is dependent on other charts, those resources will also be included in the manifest.

helm get manifest [flags] RELEASE-NAME

Options

  -h, --help                  help for manifest
      --revision int32        get the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 10-Aug-2018

HELM GET NOTES

displays the notes of the named release

Synopsis

This command shows notes provided by the chart of a named release.

helm get notes [flags] RELEASE-NAME

Options

  -h, --help                  help for notes
      --revision int32        get the notes of the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Sep-2018

HELM GET VALUES

download the values file for a named release

Synopsis

This command downloads a values file for a given release.

helm get values [flags] RELEASE-NAME

Options

  -a, --all                   dump all (computed) values
  -h, --help                  help for values
      --output string         output the specified format (json or yaml) (default "yaml")
      --revision int32        get the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 7-Sep-2018

HELM HISTORY

fetch release history

Synopsis

History prints historical revisions for a given release.

A default maximum of 256 revisions will be returned. Setting ‘–max’ configures the maximum length of the revision list returned.

The historical release set is printed as a formatted table, e.g:

$ helm history angry-bird --max=4
REVISION   UPDATED                      STATUS           CHART        DESCRIPTION
1           Mon Oct 3 10:15:13 2016     SUPERSEDED      alpine-0.1.0  Initial install
2           Mon Oct 3 10:15:13 2016     SUPERSEDED      alpine-0.1.0  Upgraded successfully
3           Mon Oct 3 10:15:13 2016     SUPERSEDED      alpine-0.1.0  Rolled back to 2
4           Mon Oct 3 10:15:13 2016     DEPLOYED        alpine-0.1.0  Upgraded successfully
helm history [flags] RELEASE-NAME

Options

      --col-width uint        specifies the max column width of output (default 60)
  -h, --help                  help for history
      --max int32             maximum number of revision to include in history (default 256)
  -o, --output string         prints the output in the specified format (json|table|yaml) (default "table")
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

HELM HOME

displays the location of HELM-HOME

Synopsis

This command displays the location of HELM-HOME. This is where any helm configuration files live.

helm home [flags]

Options

  -h, --help   help for home

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM INIT

initialize Helm on both client and server

Synopsis

This command installs Tiller (the Helm server-side component) onto your Kubernetes Cluster and sets up local configuration in $HELM-HOME (default ~/.helm/).

As with the rest of the Helm commands, ‘helm init’ discovers Kubernetes clusters by reading $KUBECONFIG (default ‘~/.kube/config’) and using the default context.

To set up just a local environment, use ‘–client-only’. That will configure $HELM-HOME, but not attempt to connect to a Kubernetes cluster and install the Tiller deployment.

When installing Tiller, ‘helm init’ will attempt to install the latest released version. You can specify an alternative image with ‘–tiller-image’. For those frequently working on the latest code, the flag ‘–canary-image’ will install the latest pre-release version of Tiller (e.g. the HEAD commit in the GitHub repository on the master branch).

To dump a manifest containing the Tiller deployment YAML, combine the ‘–dry-run’ and ‘–debug’ flags.

helm init [flags]

Options

      --automount-service-account-token   auto-mount the given service account to tiller (default true)
      --canary-image                      use the canary Tiller image
  -c, --client-only                       if set does not install Tiller
      --dry-run                           do not install local or remote
      --force-upgrade                     force upgrade of Tiller to the current helm version
  -h, --help                              help for init
      --history-max int                   limit the maximum number of revisions saved per release. Use 0 for no limit.
      --local-repo-url string             URL for local repository (default "http://127.0.0.1:8879/charts")
      --net-host                          install Tiller with net=host
      --node-selectors string             labels to specify the node on which Tiller is installed (app=tiller,helm=rocks)
  -o, --output OutputFormat               skip installation and output Tiller's manifest in specified format (json or yaml)
      --override stringArray              override values for the Tiller Deployment manifest (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --replicas int                      amount of tiller instances to run on the cluster (default 1)
      --service-account string            name of service account
      --skip-refresh                      do not refresh (download) the local repository cache
      --stable-repo-url string            URL for stable repository (default "https://kubernetes-charts.storage.googleapis.com")
  -i, --tiller-image string               override Tiller image
      --tiller-tls                        install Tiller with TLS enabled
      --tiller-tls-cert string            path to TLS certificate file to install with Tiller
      --tiller-tls-hostname string        the server name used to verify the hostname on the returned certificates from Tiller
      --tiller-tls-key string             path to TLS key file to install with Tiller
      --tiller-tls-verify                 install Tiller with TLS enabled and to verify remote certificates
      --tls-ca-cert string                path to CA root certificate
      --upgrade                           upgrade if Tiller is already installed
      --wait                              block until Tiller is running and ready to receive requests

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 4-Sep-2018

HELM INSPECT

inspect a chart

Synopsis

This command inspects a chart and displays information. It takes a chart reference (‘stable/drupal’), a full path to a directory or packaged chart, or a URL.

Inspect prints the contents of the Chart.yaml file and the values.yaml file.

helm inspect [CHART] [flags]

Options

      --ca-file string     chart repository url where to locate the requested chart
      --cert-file string   verify certificates of HTTPS-enabled servers using this CA bundle
  -h, --help               help for inspect
      --key-file string    identify HTTPS client using this SSL key file
      --keyring string     path to the keyring containing public verification keys (default "~/.gnupg/pubring.gpg")
      --password string    chart repository password where to locate the requested chart
      --repo string        chart repository url where to locate the requested chart
      --username string    chart repository username where to locate the requested chart
      --verify             verify the provenance data for this chart
      --version string     version of the chart. By default, the newest chart is shown

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM INSPECT CHART

shows inspect chart

Synopsis

This command inspects a chart (directory, file, or URL) and displays the contents of the Charts.yaml file

helm inspect chart [CHART] [flags]

Options

      --ca-file string     chart repository url where to locate the requested chart
      --cert-file string   verify certificates of HTTPS-enabled servers using this CA bundle
  -h, --help               help for chart
      --key-file string    identify HTTPS client using this SSL key file
      --keyring string     path to the keyring containing public verification keys (default "~/.gnupg/pubring.gpg")
      --password string    chart repository password where to locate the requested chart
      --repo string        chart repository url where to locate the requested chart
      --username string    chart repository username where to locate the requested chart
      --verify             verify the provenance data for this chart
      --version string     version of the chart. By default, the newest chart is shown

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM INSPECT README

shows inspect readme

Synopsis

This command inspects a chart (directory, file, or URL) and displays the contents of the README file

helm inspect readme [CHART] [flags]

Options

      --ca-file string     chart repository url where to locate the requested chart
      --cert-file string   verify certificates of HTTPS-enabled servers using this CA bundle
  -h, --help               help for readme
      --key-file string    identify HTTPS client using this SSL key file
      --keyring string     path to the keyring containing public verification keys (default "~/.gnupg/pubring.gpg")
      --repo string        chart repository url where to locate the requested chart
      --verify             verify the provenance data for this chart
      --version string     version of the chart. By default, the newest chart is shown

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM INSPECT VALUES

shows inspect values

Synopsis

This command inspects a chart (directory, file, or URL) and displays the contents of the values.yaml file

helm inspect values [CHART] [flags]

Options

      --ca-file string     chart repository url where to locate the requested chart
      --cert-file string   verify certificates of HTTPS-enabled servers using this CA bundle
  -h, --help               help for values
      --key-file string    identify HTTPS client using this SSL key file
      --keyring string     path to the keyring containing public verification keys (default "~/.gnupg/pubring.gpg")
      --password string    chart repository password where to locate the requested chart
      --repo string        chart repository url where to locate the requested chart
      --username string    chart repository username where to locate the requested chart
      --verify             verify the provenance data for this chart
      --version string     version of the chart. By default, the newest chart is shown

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM INSTALL

install a chart archive

Synopsis

This command installs a chart archive.

The install argument must be a chart reference, a path to a packaged chart, a path to an unpacked chart directory or a URL.

To override values in a chart, use either the ‘–values’ flag and pass in a file or use the ‘–set’ flag and pass configuration from the command line. To force string values in ‘–set’, use ‘–set-string’ instead. In case a value is large and therefore you want not to use neither ‘–values’ nor ‘–set’, use ‘–set-file’ to read the single large value from file.

$ helm install -f myvalues.yaml ./redis

or

$ helm install --set name=prod ./redis

or

$ helm install --set-string long-int=1234567890 ./redis

or $ helm install –set-file multiline-text=path/to/textfile

You can specify the ‘–values’/‘-f’ flag multiple times. The priority will be given to the last (right-most) file specified. For example, if both myvalues.yaml and override.yaml contained a key called ‘Test’, the value set in override.yaml would take precedence:

$ helm install -f myvalues.yaml -f override.yaml ./redis

You can specify the ‘–set’ flag multiple times. The priority will be given to the last (right-most) set specified. For example, if both ‘bar’ and ‘newbar’ values are set for a key called ‘foo’, the ‘newbar’ value would take precedence:

$ helm install --set foo=bar --set foo=newbar ./redis

To check the generated manifests of a release without installing the chart, the ‘–debug’ and ‘–dry-run’ flags can be combined. This will still require a round-trip to the Tiller server.

If –verify is set, the chart MUST have a provenance file, and the provenance file MUST pass all verification steps.

There are five different ways you can express the chart you want to install:

  1. By chart reference: helm install stable/mariadb
  2. By path to a packaged chart: helm install ./nginx-1.2.3.tgz
  3. By path to an unpacked chart directory: helm install ./nginx
  4. By absolute URL: helm install https://example.com/charts/nginx-1.2.3.tgz
  5. By chart reference and repo url: helm install –repo https://example.com/charts/ nginx

CHART REFERENCES

A chart reference is a convenient way of reference a chart in a chart repository.

When you use a chart reference with a repo prefix (‘stable/mariadb’), Helm will look in the local configuration for a chart repository named ‘stable’, and will then look for a chart in that repository whose name is ‘mariadb’. It will install the latest version of that chart unless you also supply a version number with the ‘–version’ flag.

To see the list of chart repositories, use ‘helm repo list’. To search for charts in a repository, use ‘helm search’.

helm install [CHART] [flags]

Options

      --ca-file string           verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string         identify HTTPS client using this SSL certificate file
      --dep-up                   run helm dependency update before installing the chart
      --description string       specify a description for the release
      --devel                    use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
      --dry-run                  simulate an install
  -h, --help                     help for install
      --key-file string          identify HTTPS client using this SSL key file
      --keyring string           location of public keys used for verification (default "~/.gnupg/pubring.gpg")
  -n, --name string              release name. If unspecified, it will autogenerate one for you
      --name-template string     specify template used to name the release
      --namespace string         namespace to install the release into. Defaults to the current kube config namespace.
      --no-crd-hook              prevent CRD hooks from running, but run other hooks
      --no-hooks                 prevent hooks from running during install
      --password string          chart repository password where to locate the requested chart
      --replace                  re-use the given name, even if that name is already used. This is unsafe in production
      --repo string              chart repository url where to locate the requested chart
      --set stringArray          set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray     set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray   set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --timeout int              time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                      enable TLS for request
      --tls-ca-cert string       path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string          path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string      the server name used to verify the hostname on the returned certificates from the server
      --tls-key string           path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify               enable TLS for request and verify remote
      --username string          chart repository username where to locate the requested chart
  -f, --values valueFiles        specify values in a YAML file or a URL(can specify multiple) (default [])
      --verify                   verify the package before installing it
      --version string           specify the exact chart version to install. If this is not specified, the latest version is installed
      --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

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

HELM LINT

examines a chart for possible issues

Synopsis

This command takes a path to a chart and runs a series of tests to verify that the chart is well-formed.

If the linter encounters things that will cause the chart to fail installation, it will emit [ERROR] messages. If it encounters issues that break with convention or recommendation, it will emit [WARNING] messages.

helm lint [flags] PATH

Options

  -h, --help                     help for lint
      --namespace string         namespace to put the release into (default "default")
      --set stringArray          set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray     set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray   set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --strict                   fail on lint warnings
  -f, --values valueFiles        specify values in a YAML file (can specify multiple) (default [])

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM LIST

list releases

Synopsis

This command lists all of the releases.

By default, it lists only releases that are deployed or failed. Flags like ‘–deleted’ and ‘–all’ will alter this behavior. Such flags can be combined: ‘–deleted –failed’.

By default, items are sorted alphabetically. Use the ‘-d’ flag to sort by release date.

If an argument is provided, it will be treated as a filter. Filters are regular expressions (Perl compatible) that are applied to the list of releases. Only items that match the filter will be returned.

$ helm list 'ara[a-z]+'
NAME                UPDATED                     CHART
maudlin-arachnid    Mon May  9 16:07:08 2016    alpine-0.1.0

If no results are found, ‘helm list’ will exit 0, but with no output (or in the case of no ‘-q’ flag, only headers).

By default, up to 256 items may be returned. To limit this, use the ‘–max’ flag. Setting ‘–max’ to 0 will not return all results. Rather, it will return the server’s default, which may be much higher than 256. Pairing the ‘–max’ flag with the ‘–offset’ flag allows you to page through results.

helm list [flags] [FILTER]

Options

  -a, --all                   show all releases, not just the ones marked DEPLOYED
  -c, --chart-name            sort by chart name
      --col-width uint        specifies the max column width of output (default 60)
  -d, --date                  sort by release date
      --deleted               show deleted releases
      --deleting              show releases that are currently being deleted
      --deployed              show deployed releases. If no other is specified, this will be automatically enabled
      --failed                show failed releases
  -h, --help                  help for list
  -m, --max int               maximum number of releases to fetch (default 256)
      --namespace string      show releases within a specific namespace
  -o, --offset string         next release name in the list, used to offset from start value
      --output string         output the specified format (json or yaml)
      --pending               show pending releases
  -r, --reverse               reverse the sort order
  -q, --short                 output short (quiet) listing format
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Sep-2018

HELM PACKAGE

package a chart directory into a chart archive

Synopsis

This command packages a chart into a versioned chart archive file. If a path is given, this will look at that path for a chart (which must contain a Chart.yaml file) and then package that directory.

If no path is given, this will look in the present working directory for a Chart.yaml file, and (if found) build the current directory into a chart.

Versioned chart archives are used by Helm package repositories.

helm package [flags] [CHART-PATH] [...]

Options

      --app-version string   set the appVersion on the chart to this version
  -u, --dependency-update    update dependencies from "requirements.yaml" to dir "charts/" before packaging
  -d, --destination string   location to write the chart. (default ".")
  -h, --help                 help for package
      --key string           name of the key to use when signing. Used if --sign is true
      --keyring string       location of a public keyring (default "~/.gnupg/pubring.gpg")
      --save                 save packaged chart to local chart repository (default true)
      --sign                 use a PGP private key to sign this package
      --version string       set the version on the chart to this semver version

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM PLUGIN

add, list, or remove Helm plugins

Synopsis

Manage client-side Helm plugins.

Options

  -h, --help   help for plugin

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM PLUGIN INSTALL

install one or more Helm plugins

Synopsis

This command allows you to install a plugin from a url to a VCS repo or a local path.

Example usage: $ helm plugin install https://github.com/technosophos/helm-template

helm plugin install [options] <path|url>... [flags]

Options

  -h, --help             help for install
      --version string   specify a version constraint. If this is not specified, the latest version is installed

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM PLUGIN LIST

list installed Helm plugins

Synopsis

list installed Helm plugins

helm plugin list [flags]

Options

  -h, --help   help for list

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM PLUGIN REMOVE

remove one or more Helm plugins

Synopsis

remove one or more Helm plugins

helm plugin remove <plugin>... [flags]

Options

  -h, --help   help for remove

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM PLUGIN UPDATE

update one or more Helm plugins

Synopsis

update one or more Helm plugins

helm plugin update <plugin>... [flags]

Options

  -h, --help   help for update

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO

add, list, remove, update, and index chart repositories

Synopsis

This command consists of multiple subcommands to interact with chart repositories.

It can be used to add, remove, list, and index chart repositories. Example usage: $ helm repo add [NAME] [REPO-URL]

Options

  -h, --help   help for repo

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO ADD

add a chart repository

Synopsis

add a chart repository

helm repo add [flags] [NAME] [URL]

Options

      --ca-file string     verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string   identify HTTPS client using this SSL certificate file
  -h, --help               help for add
      --key-file string    identify HTTPS client using this SSL key file
      --no-update          raise error if repo is already registered
      --password string    chart repository password
      --username string    chart repository username

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm repo - add, list, remove, update, and index chart repositories

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO INDEX

generate an index file given a directory containing packaged charts

Synopsis

Read the current directory and generate an index file based on the charts found.

This tool is used for creating an ‘index.yaml’ file for a chart repository. To set an absolute URL to the charts, use ‘–url’ flag.

To merge the generated index with an existing index file, use the ‘–merge’ flag. In this case, the charts found in the current directory will be merged into the existing index, with local charts taking priority over existing charts.

helm repo index [flags] [DIR]

Options

  -h, --help           help for index
      --merge string   merge the generated index into the given index
      --url string     url of chart repository

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm repo - add, list, remove, update, and index chart repositories

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO LIST

list chart repositories

Synopsis

list chart repositories

helm repo list [flags]

Options

  -h, --help   help for list

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm repo - add, list, remove, update, and index chart repositories

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO REMOVE

remove a chart repository

Synopsis

remove a chart repository

helm repo remove [flags] [NAME]

Options

  -h, --help   help for remove

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm repo - add, list, remove, update, and index chart repositories

Auto generated by spf13/cobra on 1-Aug-2018

HELM REPO UPDATE

update information of available charts locally from chart repositories

Synopsis

Update gets the latest information about charts from the respective chart repositories. Information is cached locally, where it is used by commands like ‘helm search’.

‘helm update’ is the deprecated form of ‘helm repo update’. It will be removed in future releases.

helm repo update [flags]

Options

  -h, --help     help for update
      --strict   fail on update warnings

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm repo - add, list, remove, update, and index chart repositories

Auto generated by spf13/cobra on 15-Nov-2018

HELM RESET

uninstalls Tiller from a cluster

Synopsis

This command uninstalls Tiller (the Helm server-side component) from your Kubernetes Cluster and optionally deletes local configuration in $HELM-HOME (default ~/.helm/)

helm reset [flags]

Options

  -f, --force                 forces Tiller uninstall even if there are releases installed, or if Tiller is not in ready state. Releases are not deleted.)
  -h, --help                  help for reset
      --remove-helm-home      if set deletes $HELM-HOME
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

HELM ROLLBACK

roll back a release to a previous revision

Synopsis

This command rolls back a release to a previous revision.

The first argument of the rollback command is the name of a release, and the second is a revision (version) number. To see revision numbers, run ‘helm history RELEASE’.

helm rollback [flags] [RELEASE] [REVISION]

Options

      --description string    specify a description for the release
      --dry-run               simulate a rollback
      --force                 force resource update through delete/recreate if needed
  -h, --help                  help for rollback
      --no-hooks              prevent hooks from running during rollback
      --recreate-pods         performs pods restart for the resource if applicable
      --timeout int           time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote
      --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

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

search for a keyword in charts

Synopsis

Search reads through all of the repositories configured on the system, and looks for matches.

Repositories are managed with ‘helm repo’ commands.

helm search [keyword] [flags]

Options

      --col-width uint   specifies the max column width of output (default 60)
  -h, --help             help for search
  -r, --regexp           use regular expressions for searching
  -v, --version string   search using semantic versioning constraints
  -l, --versions         show the long listing, with each version of each chart on its own line

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM SERVE

start a local http web server

Synopsis

This command starts a local chart repository server that serves charts from a local directory.

The new server will provide HTTP access to a repository. By default, it will scan all of the charts in ‘$HELM-HOME/repository/local’ and serve those over the local IPv4 TCP port (default ‘127.0.0.1:8879’).

This command is intended to be used for educational and testing purposes only. It is best to rely on a dedicated web server or a cloud-hosted solution like Google Cloud Storage for production use.

See https://github.com/helm/helm/blob/master/docs/developing-charts.md#hosting-chart-repositories for more information on hosting chart repositories in a production setting.

helm serve [flags]

Options

      --address string     address to listen on (default "127.0.0.1:8879")
  -h, --help               help for serve
      --repo-path string   local directory path from which to serve charts
      --url string         external URL of chart repository

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM STATUS

displays the status of the named release

Synopsis

This command shows the status of a named release. The status consists of: - last deployment time - k8s namespace in which the release lives - state of the release (can be: UNKNOWN, DEPLOYED, DELETED, SUPERSEDED, FAILED or DELETING) - list of resources that this release consists of, sorted by kind - details on last test suite run, if applicable - additional notes provided by the chart

helm status [flags] RELEASE-NAME

Options

  -h, --help                  help for status
  -o, --output string         output the status in the specified format (json or yaml)
      --revision int32        if set, display the status of the named release with revision
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 10-Aug-2018

HELM TEMPLATE

locally render templates

Synopsis

Render chart templates locally and display the output.

This does not require Tiller. However, any values that would normally be looked up or retrieved in-cluster will be faked locally. Additionally, none of the server-side testing of chart validity (e.g. whether an API is supported) is done.

To render just one template in a chart, use ‘-x’:

$ helm template mychart -x templates/deployment.yaml
helm template [flags] CHART

Options

  -x, --execute stringArray      only execute the given templates
  -h, --help                     help for template
      --is-upgrade               set .Release.IsUpgrade instead of .Release.IsInstall
      --kube-version string      kubernetes version used as Capabilities.KubeVersion.Major/Minor (default "1.9")
  -n, --name string              release name (default "release-name")
      --name-template string     specify template used to name the release
      --namespace string         namespace to install the release into
      --notes                    show the computed NOTES.txt file as well
      --output-dir string        writes the executed templates to files in output-dir instead of stdout
      --set stringArray          set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray     set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray   set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  -f, --values valueFiles        specify values in a YAML file (can specify multiple) (default [])

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM TEST

test a release

Synopsis

The test command runs the tests for a release.

The argument this command takes is the name of a deployed release. The tests to be run are defined in the chart that was installed.

helm test [RELEASE] [flags]

Options

      --cleanup               delete test pods upon completion
  -h, --help                  help for test
      --parallel              run test pods in parallel
      --timeout int           time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 9-Nov-2018

HELM UPGRADE

upgrade a release

Synopsis

This command upgrades a release to a specified version of a chart and/or updates chart values.

Required arguments are release and chart. The chart argument can be one of: - a chart reference(‘stable/mariadb’); use ‘–version’ and ‘–devel’ flags for versions other than latest, - a path to a chart directory, - a packaged chart, - a fully qualified URL.

To customize the chart values, use any of - ‘–values’/‘-f’ to pass in a yaml file holding settings, - ‘–set’ to provide one or more key=val pairs directly, - ‘–set-string’ to provide key=val forcing val to be stored as a string, - ‘–set-file’ to provide key=path to read a single large value from a file at path.

To edit or append to the existing customized values, add the ‘–reuse-values’ flag, otherwise any existing customized values are ignored.

If no chart value arguments are provided on the command line, any existing customized values are carried forward. If you want to revert to just the values provided in the chart, use the ‘–reset-values’ flag.

You can specify any of the chart value flags multiple times. The priority will be given to the last (right-most) value specified. For example, if both myvalues.yaml and override.yaml contained a key called ‘Test’, the value set in override.yaml would take precedence:

$ helm upgrade -f myvalues.yaml -f override.yaml redis ./redis

Note that the key name provided to the ‘–set’, ‘–set-string’ and ‘–set-file’ flags can reference structure elements. Examples: - mybool=TRUE - livenessProbe.timeoutSeconds=10 - metrics.annotations[0]=hey,metrics.annotations[1]=ho

which sets the top level key mybool to true, the nested timeoutSeconds to 10, and two array values, respectively.

Note that the value side of the key=val provided to ‘–set’ and ‘–set-string’ flags will pass through shell evaluation followed by yaml type parsing to produce the final value. This may alter inputs with special characters in unexpected ways, for example

$ helm upgrade --set pwd=3jk$o2,z=f\30.e redis ./redis

results in “pwd: 3jk” and “z: f30.e”. Use single quotes to avoid shell evaluation and argument delimiters, and use backslash to escape yaml special characters:

$ helm upgrade --set pwd='3jk$o2z=f\\30.e' redis ./redis

which results in the expected “pwd: 3jk$o2z=f\30.e”. If a single quote occurs in your value then follow your shell convention for escaping it; for example in bash:

$ helm upgrade --set pwd='3jk$o2z=f\\30with'\''quote'

which results in “pwd: 3jk$o2z=f\30with’quote”.

helm upgrade [RELEASE] [CHART] [flags]

Options

      --ca-file string           verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string         identify HTTPS client using this SSL certificate file
      --description string       specify the description to use for the upgrade, rather than the default
      --devel                    use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.
      --dry-run                  simulate an upgrade
      --force                    force resource update through delete/recreate if needed
  -h, --help                     help for upgrade
  -i, --install                  if a release by this name doesn't already exist, run an install
      --key-file string          identify HTTPS client using this SSL key file
      --keyring string           path to the keyring that contains public signing keys (default "~/.gnupg/pubring.gpg")
      --namespace string         namespace to install the release into (only used if --install is set). Defaults to the current kube config namespace
      --no-hooks                 disable pre/post upgrade hooks
      --password string          chart repository password where to locate the requested chart
      --recreate-pods            performs pods restart for the resource if applicable
      --repo string              chart repository url where to locate the requested chart
      --reset-values             when upgrading, reset the values to the ones built into the chart
      --reuse-values             when upgrading, reuse the last release's values and merge in any overrides from the command line via --set and -f. If '--reset-values' is specified, this is ignored.
      --set stringArray          set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --set-file stringArray     set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
      --set-string stringArray   set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --timeout int              time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
      --tls                      enable TLS for request
      --tls-ca-cert string       path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string          path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string      the server name used to verify the hostname on the returned certificates from the server
      --tls-key string           path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify               enable TLS for request and verify remote
      --username string          chart repository username where to locate the requested chart
  -f, --values valueFiles        specify values in a YAML file or a URL(can specify multiple) (default [])
      --verify                   verify the provenance of the chart before upgrading
      --version string           specify the exact chart version to use. If this is not specified, the latest version is used
      --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

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 24-Aug-2018

HELM VERIFY

verify that a chart at the given path has been signed and is valid

Synopsis

Verify that the given chart has a valid provenance file.

Provenance files provide crytographic verification that a chart has not been tampered with, and was packaged by a trusted provider.

This command can be used to verify a local chart. Several other commands provide ‘–verify’ flags that run the same validation. To generate a signed package, use the ‘helm package –sign’ command.

helm verify [flags] PATH

Options

  -h, --help             help for verify
      --keyring string   keyring containing public keys (default "~/.gnupg/pubring.gpg")

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

SEE ALSO

  • helm - The Helm package manager for Kubernetes.

Auto generated by spf13/cobra on 1-Aug-2018

HELM VERSION

print the client/server version information

Synopsis

Show the client and server versions for Helm and tiller.

This will print a representation of the client and server versions of Helm and Tiller. The output will look something like this:

Client: &version.Version{SemVer:“v2.0.0”, GitCommit:“ff52399e51bb880526e9cd0ed8386f6433b74da1”, GitTreeState:“clean”} Server: &version.Version{SemVer:“v2.0.0”, GitCommit:“b0c113dfb9f612a9add796549da66c0d294508a3”, GitTreeState:“clean”}

  • SemVer is the semantic version of the release.
  • GitCommit is the SHA for the commit that this version was built from.
  • GitTreeState is “clean” if there are no local code changes when this binary was built, and “dirty” if the binary was built from locally modified code.

To print just the client version, use ‘–client’. To print just the server version, use ‘–server’.

helm version [flags]

Options

  -c, --client                client version only
  -h, --help                  help for version
  -s, --server                server version only
      --short                 print the version number
      --template string       template for version string format
      --tls                   enable TLS for request
      --tls-ca-cert string    path to TLS CA certificate file (default "$HELM-HOME/ca.pem")
      --tls-cert string       path to TLS certificate file (default "$HELM-HOME/cert.pem")
      --tls-hostname string   the server name used to verify the hostname on the returned certificates from the server
      --tls-key string        path to TLS key file (default "$HELM-HOME/key.pem")
      --tls-verify            enable TLS for request and verify remote

Options inherited from parent commands

      --debug                           enable verbose output
      --home string                     location of your Helm config. Overrides $HELM-HOME (default "~/.helm")
      --host string                     address of Tiller. Overrides $HELM-HOST
      --kube-context string             name of the kubeconfig context to use
      --kubeconfig string               absolute path to the kubeconfig file to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")
第 3 篇 Helm 命令、环境变量、相关目录 了解Helm命令的使用、Helm相关环境变量、以及相关目录。 阅读详情

相关推荐

Helm 命令用法举例

在stable仓库搜索 redis应用。查看当前的 Charts 包仓库。查看包详细信息与帮助手册。

721

Helm Chart 中通过 configMap 管理应用程序配置文件

目录背景修改配置文件默认实现更优雅的实现`values.yaml``templates/configmap.yaml``templates/statefulset.yaml`对配置文件进行版本管理修改配置文件能自动触发 rolling update 背景 各种成熟软件的官方container image中,大多包含了默认的配置文件,在真正的生产部署中,一定需要灵活的方法管理这些配置文件,以满足下列需求: 能修改默认配置文件 对配置文件进行版本管理 修改配置文件能自动触发 rolling update h

周郎先生的博客 5953

1、Ovirt 开源虚拟化平台安装

Ovirt虚拟化Node和Engine安装

大鱼 6267

k8s--基础--25.3--Helm--常用命令和常见错误

生成的tgz包可以发送到任意服务器上,通过helm fetch就可以获取该chart。为模板中的每一个属性提供值。

zhou920786312的博客 2326

<视觉>——单目相机的标定(简单原理+Opencv实现)

单目相机的标定原理大致如下: 世界坐标到像素坐标的转换。 期间的参数有S尺度因子,内参矩阵K,旋转矩阵R,平移矩阵T,一共八个未知数。 在Opencv中我们可以方便的根据相机拍摄不同位姿的标定板图片来标定相机,从而求得这些参数,从而可以将相机下的坐标和实际的世界坐标联系起来,求取单应性矩阵H 参考: 单目相机综述:写的特别好 https://www.cnblo...

Kano365的博客 1万+

DIY电磁炉核心驱动方案:IR2153PBF自振荡半桥芯片实战指南(附电路图)

本文详细介绍了IR2153PBF自振荡半桥驱动芯片在DIY电磁炉核心驱动方案中的实战应用。该芯片集成了振荡器与600V高压驱动能力,仅需少量外围元件即可生成互补带死区的PWM信号,极大简化了半桥逆变电路设计。文章深入解析了其工作原理、关键参数,并提供了完整的电路设计、PCB布局指南及调试步骤,帮助电子爱好者构建稳定高效的感应加热驱动核心。

beer8的博客 595

Helm实战(五)-helm dependency依赖管理

Helm命令之helm dependency依赖管理

sre救赎之路 3351

Keil MDK打开别人工程总报错?手把手教你修复‘找不到main.o’和‘未定义’的路径问题

本文详细解析Keil MDK工程移植时常见的'找不到main.o'和'未定义'编译错误,提供从路径修复到宏定义配置的完整解决方案。通过系统化的检查清单和预防措施,帮助开发者快速解决MDK工程迁移问题,提升嵌入式开发效率。

weixin_28724661的博客 401

部署神器helm`

helm

国产-达芬奇 1129

EDSR图像超分辨程序复现(踩坑及解决记录)

EDSR图像超分辨程序复现(踩坑及解决记录)

Sunny_Coder的博客 3645

【C语言项目合集】这十个入门必备练手项目,让C语言对你来说不再难学!

适合刚入门C语言的编程学习小白的十个练手项目,每个都很经典且实用,让你学完C语言不再迷茫!

kxtxdy的博客 3万+

【云原生】Helm 架构和基础语法详解

我们可以将Helm看作Kubernetes下的apt-get/yum。Helm是kubernetes的包管理器,helm仓库里面只有配置清单文件,而没有镜像,镜像还是由镜像仓库来提供,比如hub.docker.com、私有仓库。其实之前也写过关于helm的一篇文章【Kubernetes(k8s)包管理器Helm(Helm3)介绍&Helm3安装Harbor】,可能讲的不够细致,这里会更加细致的讲解helm。

匠人精神,持之以恒! 4213

基于simulink 的不间断电源ups的项目实例

UPS系统的核心组件包括整流器、逆变器、电池管理系统和控制系统。- **Three-Phase Controlled Rectifier**:设置触发角为0度,用于控制整流器的输出电压。- **Three-Phase Inverter**:设置逆变器的输出频率为60Hz,用于将直流电转换为交流电。- **Control System**:编写MATLAB函数,用于监测市电状态并控制各模块的工作模式。- **Step**:设置阶跃时间,例如0.05秒,阶跃前后的值分别为0和1,用于模拟市电中断。

xiaoheshang_123的博客 712

Helm:Kubernetes的包管理器:5:常用命令对比(Helm 2 vs Helm 3)

Helm 2和Helm 3在使用上还是有些区别的,除了在Helm 3中移除了Tiller,一些常用的命令也发生了变化,在这篇文章中进行简单的整理。

知行合一 止于至善 3369

几款开源的自动驾驶仿真平台项目

它被开发为一个虚幻的插件,可以简单地放到任何你想要的虚幻环境中。第一类是基于合成的数据,对环境、感知及车辆进行模拟,这里的感知大多数是图像层面的感知,这类模拟器主要用于感知、规划算法的初步开发上,Carla、AirSim、Udacity self-driving car simulator就属于这类;第二类是基于真实数据的回放,这里的真实数据包括图像、lidar、radar等各种传感器的数据,这类模拟器主要用于测试无人驾驶中信息融合算法以及车辆不同部件的性能,Apollo和Autoware就属于这类。

南七小僧的学海无涯 2851

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

Helm常见命令

Helm常见命令

拒绝熬夜啊的博客 9611

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

总结:Helm 命令详解

Helm 是 Kubernetes 的包管理工具,类似于apt或yum,但它专为 Kubernetes 设计。Helm 通过 Chart(Helm 的软件包)来定义、安装和升级 Kubernetes 应用。Chart 是一个包含 Kubernetes 资源文件和依赖项的目录结构,可以轻松管理复杂的应用。Helm 是 Kubernetes 生态中不可或缺的工具,它通过 Chart 简化了应用的部署和管理。掌握 Helm 的常用命令,可以帮助用户更高效地使用 Kubernetes。

phantom_111的博客 1605

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

helm命令的基本使用

一.概述 Helm是一个kubernetes应用的包管理工具,用来管理预先配置好的安装包资源。 Helm chart是用来封装kubernetes原生应用程序的yaml文件,可以在你部署应用的时候自定义应用程序的一些metadata,便与应用程序的分发。 安装及详细介绍Helm安装部署详解【附源码】_无锋剑客_51CTO博客 二.命令用法 查看版本 #helm version 查看当前安装的charts #helm list 查询 charts #helm search redi..

kali_yao的博客 1486

helm常用命令

kubectl get all -n ns //查看ns下所有的控制器信息(deployment\pv\service\pod\stafullset\daemonset\replicaset等)kubectl exec -it podname -n ns bash //进去pod里面 (docker exec -it containderid bash)kubectl logs -f --tail=200 podname -n ns //打印pod的日志。

qq_21305943的专栏 2140

helm completion自动补全命令

文章目录1、helm completion 的提示2、补全命令脚本 转载请标明出处: https://bigmaning.blog.youkuaiyun.com/article/details/120510343 本文出自:【BigManing的博客】 1、helm completion 的提示 根据helm completion -h的提示 ,核心脚本 就在前两句。 Generate autocompletions script for Helm for the specified shell (bash or

BigManing的博客 1440

Helm3基本命令

名字 描述 Charts 应用部署配置模板集 Release 将charts应用到本地的实例 Repo Charts仓库 Helm命令解析 命令 描述 create 创建应用模板 install 安装charts list 列出本地release pull 下载charts到本地目录 package 将chart目录打包为chart归档包 show 查看cahrts内容 uninstall

RainyLin-SunnyLin的专栏 1535

封装Helm命令以提供Restful API

动机 Helm作为Kubernetes的包管理工具,极大的方便了Kubernetes应用程序的管控。 然而,Helm却仅仅提供了命令的方式对Kubernetes集群的应用程序进行管控,当我们要基于Kubernetes构建一个PaaS或SaaS容器云的时候,通常会有一个客户端微服务或程序需要调用Helm来进行应用程序的管控。在这种情况下通过直接调用Helm命令的方式进行应用管控终究不是很好的方式。 ...

Bluejoy Jing 的博客 4092

Helm命令大全

概述 史上最全helm命令大全,需要的工程师请收藏保存! helm命令大全 Helm命令大全-Helm仓库 Helm命令大全-Helm仓库列表 Helm命令大全-Helm仓库更新 Helm命令大全-Helm仓库索引 Helm命令大全-Helm依赖 Helm命令大全-Helm依赖列表 Helm命令大全-Helm列表 Helm命令大全-Helm删除仓库 Helm命令大全-Helm包 Helm命令大全-Helm升级 Helm命令大全-Helm卸载 Helm命令大全-Helm历史 Helm命令大全-Helm变量 H

qq_27234433的博客 566

helm 命令行

简介Kubernetes包管理器Helm的一般操作:helm search:   搜索chart helm pull:    下载chart到本地目录查看 helm install:   上传chart到Kubernetes helm list:     列出已发布的charthelm repo index myrepo/ --url http://192.168.20.3:81/chartshelm upgrade redis ./redishelm uninstall redis ./redishelm

m0_61608641的博客 2085
上一篇: Helm 命名模板的使用
下一篇: GitOps:一款基于Kubernetes的高速CI/CD框架
hxpjava1
博客等级 码龄19年 1365粉丝 511原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值