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

相关推荐

  • make

    文章目录make补充说明语法选项参数知识扩展 make GNU的工程化编译工具 补充说明 make命令 是GNU的工程化编译工具,用于编译众多相互关联的源代码文件,以实现工程化的管…

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

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

    2024年 4月 30日
  • ifstat

    文章目录ifstat补充说明下载编译安装选项实例 ifstat 统计网络接口流量状态 补充说明 ifstat命令 就像iostat/vmstat描述其它的系统状况一样,是一个统计网…

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

    文章目录perl补充说明语法选项参数 perl perl语言解释器 补充说明 perl命令 是perl语言解释器,负责解释执行perl语言程序。 语法 perl(选项)(参数) 选…

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

    文章目录screen补充说明语法选项常用screen参数使用 screenscreen 高级应用  screen 用于命令行终端切换 补充说明 Screen 是一款由GNU计划开发…

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

    文章目录sync补充说明语法选项buffer与cache sync 用于强制被改变的内容立刻写入磁盘 补充说明 sync命令 用于强制被改变的内容立刻写入磁盘,更新超块信息。 在L…

    入门教程 2024年 3月 11日
  • firewall-cmd

    文章目录firewall-cmd补充说明选项实例 firewall-cmd Linux上新用的防火墙软件,跟iptables差不多的工具 补充说明 firewall-cmd 是 f…

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

    文章目录umask概要主要用途参数选项返回值例子注意 umask 显示或设置创建文件的权限掩码。 概要 umask [-p] [-S] [mode] 主要用途 显示当前的文件权限掩…

    入门教程 2024年 3月 11日
  • HTML 表单和输入

    HTML 表单用于收集用户的输入信息。 HTML 表单表示文档中的一个区域,此区域包含交互控件,将用户收集到的信息发送到 Web 服务器。 文章目录实例实例HTML 表单实例HTM…

    入门教程 2023年 4月 13日
  • true

    文章目录true概要主要用途返回值例子注意 true 返回状态为成功。 概要 true 主要用途 用于和其他命令进行逻辑运算。 返回值 返回状态总是成功;返回值为0。 例子 # 当…

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