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

相关推荐

  • ntsysv

    文章目录ntsysv补充说明语法选项实例 ntsysv 集中管理系统的各种服务 补充说明 ntsysv命令 提供了一个基于文本界面的菜单操作方式,集中管理系统不同的运行等级下的系统…

    入门教程 2024年 1月 10日
  • compress

    文章目录compress补充说明语法选项参数实例 compress 使用Lempress-Ziv编码压缩数据文件 补充说明 compress命令 使用“Lempress-Ziv”编…

    入门教程 2023年 12月 7日
  • blockdev

    文章目录blockdev补充说明语法参数实例 blockdev 从命令行调用区块设备控制程序 补充说明 blockdev命令 在命令调用“ioxtls”函数,以实现对设备的控制。 …

    入门教程 2023年 12月 6日
  • HTTP介绍

    文章目录HTTP/HTTPS 简介HTTP 工作原理HTTP 三点注意事项:HTTPS 作用证书有效证书无效 HTTP/HTTPS 简介 HTTP 协议是 Hyper Text T…

    2023年 5月 14日
  • supervisord

    文章目录supervisord安装实例下载地址 supervisord 配置后台服务/常驻进程的进程管家工具 安装 # 安装 supervisord apt-get install…

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

    文章目录nisdomainname补充说明语法选项 nisdomainname 显示主机NIS的域名 补充说明 nisdomainname命令 用于显示主机NIS的域名。 语法 n…

    入门教程 2024年 1月 10日
  • false

    文章目录false概要主要用途返回值注意 false 返回状态为失败。 概要 false 主要用途 用于和其他命令进行逻辑运算。 返回值 返回状态总是失败;返回值为1。 注意 该命…

    入门教程 2023年 12月 14日
  • 32. panic 和 recover

    欢迎来到 Golang 系列教程的第 32 篇。 文章目录什么是 panic?什么时候应该使用 panic?panic 示例发生 panic 时的 deferrecoverpani…

    2023年 12月 5日
  • logsave

    文章目录logsave补充说明语法选项参数 logsave 将命令的输出信息保存到指定的日志文件 补充说明 logsave命令 运行给定的命令,并将命令的输出信息保存到指定的日志文…

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

    文章目录e2label补充说明语法参数实例 e2label 设置第二扩展文件系统的卷标 补充说明 e2label命令 用来设置第二扩展文件系统的卷标。 语法 e2label(参数)…

    入门教程 2023年 12月 14日
Translate »