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

相关推荐

  • lvscan

    文章目录lvscan补充说明语法选项实例 lvscan 扫描逻辑卷 补充说明 lvscan命令 用于扫描当前系统中存在的所有的LVM逻辑卷。使用lvscan指令可以发现系统中的所有…

    入门教程 2023年 12月 19日
  • 使用内存管理工具

    文章目录简介面临的问题内存管理规则分析内存分配的步骤 简介 iOS下内存管理的基本思想就是引用计数,通过对象的引用计数来对内存对象的生命周期进行控制。具体到编程时间方面,主要有两种…

    2023年 4月 1日
  • git 工作流程

    本章介绍了git的大致工作流程

    2024年 4月 30日
  • HTML 头部

    文章目录HTML “HTML “元素HTML <title> 元素实例HTML “ 元素实例HTML 元素实例HTML &#8220…

    2023年 4月 12日
  • mkisofs

    文章目录mkisofs补充说明语法选项参数实例 mkisofs 建立ISO 9660映像文件 补充说明 mkisofs命令 用来将指定的目录与文件做成ISO 9660格式的映像文件…

    入门教程 2024年 1月 3日
  • Hello World

    文章目录Hello World搭建Go工作空间运行 Go 程序1、使用 go run 命令。在命令提示符中输入以下命令2、使用 go install 命令。在命令提示符中输入以下命…

    2023年 12月 5日
  • Java 包(package)

    为了更好地组织类,Java 提供了包机制,用于区别类名的命名空间。 文章目录包的作用创建包例子Animal.java 文件代码:MammalInt.java 文件代码:import…

    入门教程 2023年 3月 9日
  • iptables-save

    文章目录iptables-save补充说明语法选项实例 iptables-save 备份iptables的表配置 补充说明 iptables-save命令 用于将linux内核中的…

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

    文章目录lftpget补充说明语法选项参数 lftpget 调用lftp指令下载指定的文件 补充说明 lftpget命令 通过调用lftp指令下载指定的文件。 语法 lftpget…

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

    文章目录killall补充说明语法选项参数实例 killall 使用进程的名称来杀死一组进程 补充说明 killall命令 使用进程的名称来杀死进程,使用此指令可以杀死一组同名进程…

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