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日 下午4:32

相关推荐

  • pmap

    文章目录pmap补充说明语法选项参数实例 pmap 报告进程的内存映射关系 补充说明 pmap命令 用于报告进程的内存映射关系,是Linux调试及运维一个很好的工具。 语法 pma…

    入门教程 2024年 3月 1日
  • install

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

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

    文章目录atop补充说明语法说明proc字段指示进程总数zombie字段指示僵尸进程的数量exit字段指示atop采样周期期间退出的进程数量atop日志相关资料 atop 监控Li…

    入门教程 2023年 12月 6日
  • gcov

    文章目录gcov补充说明语法选项参数 gcov 测试程序的代码覆盖率的工具 补充说明 gcov命令 是一款测试程序的代码覆盖率的工具。 语法 gcov(选项)(参数) 选项 -h:…

    入门教程 2023年 12月 14日
  • Git 分支管理

    几乎每一种版本控制系统都以某种形式支持分支,一个分支代表一条独立的开发线。 使用分支意味着你可以从开发主线上分离开来,然后在不影响主线的同时继续工作。 Git 分支实际上是指向更改…

    2024年 4月 30日
  • hostid

    文章目录hostid概要主要用途选项例子注意 hostid 显示当前主机的十六进制数字标识。 概要 hostid [OPTION]… 主要用途 显示当前主机的十六进制标识符。 …

    入门教程 2023年 12月 15日
  • arpd

    文章目录arpd补充说明语法选项参数实例 arpd 收集免费ARP信息 补充说明 arpd命令 是用来收集免费arp信息的一个守护进程,它将收集到的信息保存在磁盘上或者在需要时,提…

    入门教程 2023年 12月 6日
  • unset

    文章目录unset概要主要用途选项参数返回值例子注意 unset 删除指定的shell变量或函数。 概要 unset [-f] [-v] [-n] [name …] 主要用途 …

    入门教程 2024年 3月 11日
  • mkdir

    文章目录mkdir补充说明语法选项参数实例 mkdir 用来创建目录 补充说明 mkdir命令 用来创建目录。该命令创建由dirname命名的目录。如果在目录名的前面没有加任何路径…

    入门教程 2024年 1月 3日
  • type

    文章目录type概要参数返回值例子注意 type 显示指定命令的类型。 概要 type [-afptP] name [name …] “` ## 主要用途 – 显示要查找的命…

    入门教程 2024年 3月 11日
Translate »