helm rollback

helm rollback (릴리즈를 이전 리비전으로 롤백)

릴리즈를 이전 리비전으로 되돌리는 명령입니다.

출처: 문서

본문

이 명령은 릴리즈를 이전 리비전으로 롤백합니다.

rollback 명령의 첫 번째 인자는 릴리즈 이름이고, 두 번째는 리비전(버전) 번호입니다. 이 인자를 생략하거나 0으로 설정하면 이전 릴리즈로 롤백합니다.

리비전 번호를 보려면 helm history RELEASE를 실행하세요.

helm rollback <RELEASE> [REVISION] [flags]

옵션 (Options)

      --cleanup-on-fail               allow deletion of new resources created in this rollback when rollback fails
      --description string            add a custom description for the rollback (max 256 characters)
      --dry-run string[="unset"]      simulates the operation without persisting changes. Must be one of: "none" (default), "client", or "server". '--dry-run=none' executes the operation normally and persists changes (no simulation). '--dry-run=client' simulates the operation client-side only and avoids cluster connections. '--dry-run=server' simulates the operation on the server, requiring cluster connectivity. (default "none")
      --force-conflicts               if set server-side apply will force changes against conflicts
      --force-replace                 force resource updates by replacement
  -h, --help                          help for rollback
      --history-max int               limit the maximum number of revisions saved per release. Use 0 for no limit (default 10)
      --no-hooks                      prevent hooks from running during rollback
      --server-side string            must be "true", "false" or "auto". Object updates run in the server instead of the client ("auto" defaults the value from the previous chart release's method) (default "auto")
      --timeout duration              time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s)
      --wait WaitStrategy[=watcher]   wait until resources are ready (up to --timeout). Use '--wait' alone for 'watcher' strategy, or specify one of: 'watcher', 'hookOnly', 'legacy'. Default when flag is omitted: 'hookOnly'. (default hookOnly)
      --wait-for-jobs                 if set and --wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as --timeout

부모 명령에서 상속된 옵션 (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")

더 알아보기 (Learn more)

  • helm - 쿠버네티스를 위한 Helm 패키지 매니저입니다.