helm version

helm version

helm 버전 정보를 출력하는 명령입니다.

출처: 문서

본문

Helm의 버전을 표시합니다.

이 명령은 Helm의 버전을 표현한 값을 출력합니다. 출력은 다음과 같은 형태가 됩니다.

version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"}
  • Version 은 릴리스의 시맨틱 버전입니다.
  • GitCommit 은 이 버전이 빌드된 커밋의 SHA입니다.
  • GitTreeState 는 이 바이너리가 빌드될 때 로컬 코드 변경이 없으면 "clean", 로컬에서 수정된 코드로 빌드되었으면 "dirty"입니다.
  • GoVersion 은 Helm을 컴파일하는 데 사용된 Go 버전입니다.

--template 플래그를 사용하면 템플릿에서 다음 속성을 사용할 수 있습니다.

  • .Version 은 Helm의 시맨틱 버전을 포함합니다.
  • .GitCommit 은 git 커밋입니다.
  • .GitTreeState 는 Helm이 빌드됐을 때 git 트리의 상태입니다.
  • .GoVersion 은 Helm을 컴파일하는 데 사용된 Go 버전을 포함합니다.

예를 들어, --template='Version: {{.Version}}' 은 'Version: v3.2.1' 을 출력합니다.

시놉시스 (Synopsis)

helm version [flags]

옵션 (Options)

  -h, --help              help for version
      --short             print the version number
      --template string   template for version string format

부모 명령에서 상속받은 옵션 (Options inherited from parent commands)

      --burst-limit int                 client-side default throttling limit (default 100)
      --color string                    use colored output (never, auto, always) (default "auto")
      --colour string                   use colored output (never, auto, always) (default "auto")
      --content-cache string            path to the directory containing cached content (e.g. charts) (default "~/.cache/helm/content")
      --debug                           enable verbose output
      --kube-apiserver string           the address and the port for the Kubernetes API server
      --kube-as-group stringArray       group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --kube-as-user string             username to impersonate for the operation
      --kube-ca-file string             the certificate authority file for the Kubernetes API server connection
      --kube-context string             name of the kubeconfig context to use
      --kube-insecure-skip-tls-verify   if true, the Kubernetes API server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --kube-tls-server-name string     server name to use for Kubernetes API server certificate validation. If it is not provided, the hostname used to contact the server is used
      --kube-token string               bearer token used for authentication
      --kubeconfig string               path to the kubeconfig file
  -n, --namespace string                namespace scope for this request
      --qps float32                     queries per second used when communicating with the Kubernetes API, not including bursting
      --registry-config string          path to the registry config file (default "~/.config/helm/registry/config.json")
      --repository-cache string         path to the directory containing cached repository indexes (default "~/.cache/helm/repository")
      --repository-config string        path to the file containing repository names and URLs (default "~/.config/helm/repositories.yaml")

함께 보기 (SEE ALSO)

  • helm - Kubernetes용 Helm 패키지 매니저.

더 알아보기 (Learn more)

  • helm - Helm CLI의 최상위 명령