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

相关推荐

  • ip6tables-save

    文章目录ip6tables-save补充说明语法选项 ip6tables-save 保存ip6tables表配置 补充说明 ip6tables-save命令 将Linux内核中ip…

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

    文章目录popd概要主要用途选项参数返回值例子注意参考链接 popd 从目录堆栈中删除目录。 概要 popd [-n] [+N | -N] 主要用途 从目录堆栈中删除目录,如果是顶…

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

    文章目录alias概要主要用途选项返回值例子知识点错误用法Q&A注意其他参考链接 alias 定义或显示别名。 概要 alias [-p] [name[=value] ..…

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

    文章目录setsebool补充说明语法选项实例 setsebool 修改SElinux策略内各项规则的布尔值 补充说明 setsebool命令 是用来修改SElinux策略内各项规…

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

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

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

    exportfs 管理NFS共享文件系统列表 补充说明 exportfs 命令用来管理当前NFS共享的文件系统列表。 参数: -a 打开或取消所有目录共享。 -o options,…

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

    文章目录swapon补充说明语法选项参数实例 swapon 激活Linux系统中交换空间 补充说明 swapon命令 用于激活Linux系统中交换空间,Linux系统的内存管理必须…

    入门教程 2024年 3月 11日
  • Helm | Helm 展示chart

    文章目录helm show chart简介可选项从父命令继承的命令请参阅 helm show chart 显示chart定义 简介 该命令检查chart(目录、文件或URL)并显示…

    入门教程 2023年 12月 14日
  • Git 标签

    如果你达到一个重要的阶段,并希望永远记住那个特别的提交快照,你可以使用 git tag 给它打上标签。 比如说,我们想为我们的 aaronyang 项目发布一个1.0版本。 我们可…

    2024年 4月 30日
  • sshd

    文章目录sshd补充说明语法选项 sshd openssh软件套件中的服务器守护进程 补充说明 sshd命令 是openssh软件套件中的服务器守护进程。 语法 sshd(选项) …

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