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

相关推荐

  • grep

    文章目录grep补充说明选项规则表达式grep命令常见用法grep递归搜索文件 grep 强大的文本搜索工具 补充说明 grep (global search regular ex…

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

    文章目录accept补充说明语法选项参数 accept 指示打印系统接受发往指定目标打印机的打印任务 补充说明 accept命令 属于CUPS套件,用于指示打印系统接受发往指定目标…

    入门教程 2023年 12月 6日
  • Java 条件语句 – if…else

    Java 中的条件语句允许程序根据条件的不同执行不同的代码块。 一个 if 语句包含一个布尔表达式和一条或多条语句。 文章目录语法Test.java 文件代码:if…e…

    入门教程 2023年 3月 4日
  • iptables-restore

    文章目录iptables-restore补充说明语法选项实例 iptables-restore 还原iptables表的配置 补充说明 iptables-restore命令 用来还…

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

    文章目录route补充说明语法选项参数实例 route 显示并设置Linux中静态路由表 补充说明 route命令 用来显示并设置Linux内核中的网络路由表,route命令设置的…

    入门教程 2024年 3月 4日
  • HTML 段落

    HTML 可以将文档分割为若干段落。 文章目录HTML 段落实例不要忘记结束标签HTML 折行实例HTML 输出- 使用提醒HTML 标签参考手册 HTML 段落 段落是通过 &l…

    2023年 4月 11日
  • rpm2cpio

    文章目录rpm2cpio补充说明语法参数实例 rpm2cpio 将RPM软件包转换为cpio格式的文件 补充说明 rpm2cpio命令 用于将rpm软件包转换为cpio格式的文件。…

    入门教程 2024年 3月 4日
  • Helm | Helm 删除仓库

    文章目录helm repo remove可选项从父命令继承的命令请参阅 helm repo remove 删除一个或多个仓库 helm repo remove [REPO1 [RE…

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

    文章目录shutdown补充说明语法选项参数实例 shutdown 用来执行系统关机的命令 补充说明 shutdown命令 用来系统关机命令。shutdown指令可以关闭所有程序,…

    入门教程 2024年 3月 5日
  • Git 远程仓库(Github)

    Git 并不像 SVN 那样有个中心服务器。 目前我们使用到的 Git 命令都是在本地执行,如果你想通过 Git 分享你的代码或者与其他开发人员合作。 你就需要将数据放到一台其他开…

    2024年 4月 30日
Translate »