Helm | Helm 回滚

helm rollback

回滚发布到上一个版本

简介

该命令回滚发布到上一个版本

回滚命令的第一个参数是发布的名称,第二是修订(版本)号,如果省略此参数,会回滚到上一个版本。

要查看修订号,执行’helm history RELEASE’。

helm rollback <RELEASE> [REVISION] [flags]

可选项

      --cleanup-on-fail    allow deletion of new resources created in this rollback when rollback fails
      --dry-run            simulate a rollback
      --force              force resource update through delete/recreate if needed
  -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
      --recreate-pods      performs pods restart for the resource if applicable
      --timeout duration   time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s)
      --wait               if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout
      --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

从父命令继承的命令

      --burst-limit int                 client-side default throttling limit (default 100)
      --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
      --registry-config string          path to the registry config file (default "~/.config/helm/registry/config.json")
      --repository-cache string         path to the file 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")

请参阅

  • helm – 针对Kubernetes的Helm包管理器

若文章对你有帮助,可以点赞或打赏支持我们。发布者:Aurora,转载请注明出处:http://61.174.243.28:13541/AY-knowledg-hub/helm-helm-%e5%9b%9e%e6%bb%9a/

(0)
AuroraAurora站点维系者
上一篇 2023年 12月 14日 下午4:32
下一篇 2023年 12月 14日 下午6:09

相关推荐

  • netstat

    文章目录netstat补充说明语法选项实例扩展知识网络连接状态详解 netstat 查看Linux中网络系统状态信息 补充说明 netstat命令 用来打印Linux中网络系统的状…

    入门教程 2024年 1月 10日
  • 27. 组合取代继承

    欢迎来到 Golang 系列教程的第 27 篇。 Go 不支持继承,但它支持组合(Composition)。组合一般定义为“合并在一起”。汽车就是一个关于组合的例子:一辆汽车由车轮…

    2023年 12月 5日
  • Helm | Helm 拉取

    文章目录helm pull简介可选项从父命令继承的命令请参阅 helm pull 从仓库下载并(可选)在本地目录解压 简介 从包仓库中检索包并下载到本地。 对于要获取检查,修改或重…

    入门教程 2023年 12月 14日
  • install

    文章目录install补充说明语法选项实例 install 安装或升级软件或备份数据 补充说明 install命令 的作用是安装或升级软件或备份数据,它的使用权限是所有用户。ins…

    入门教程 2023年 12月 19日
  • 29. Defer

    欢迎来到 Golang 系列教程的第 29 篇。 文章目录什么是 defer?示例延迟方法实参取值(Arguments Evaluation)defer 栈defer 的实际应用 …

    2023年 12月 5日
  • login

    文章目录login补充说明语法选项参数 login 登录系统或切换用户身份 补充说明 login命令 用于给出登录界面,可用于重新登录或者切换用户身份,也可通过它的功能随时更换登入…

    入门教程 2023年 12月 19日
  • rexec

    文章目录rexec补充说明语法选项参数实例 rexec 远程执行Linux系统下命令 补充说明 rexec命令 用于在指定的远程Linux系统主机上执行命令,向远程rexec服务器…

    入门教程 2024年 3月 4日
  • dig

    文章目录dig补充说明语法选项参数实例 dig 域名查询工具 补充说明 dig命令 是常用的域名查询工具,可以用来测试域名系统工作是否正常。 语法 dig(选项)(参数) 选项 @…

    入门教程 2023年 12月 7日
  • dpkg-preconfigure

    文章目录dpkg-preconfigure补充说明语法选项参数实例 dpkg-preconfigure Debian Linux中软件包安装之前询问问题 补充说明 dpkg-pre…

    入门教程 2023年 12月 7日
  • 前言

    HTTP 协议一般指 HTTP(超文本传输协议)。 超文本传输协议(英语:HyperText Transfer Protocol,缩写:HTTP)是一种用于分布式、协作式和超媒体信…

    2023年 5月 14日
Translate »