Warning: Undefined array key "custom_message" in /www/wwwroot/bbs.aaronyang.cc/wp-content/plugins/wpcopyrights/index.php on line 105

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

相关推荐

  • K8S集群的开机关机操作

    K8S集群中,如何开机关机

    2021年 7月 26日
  • logout

    文章目录logout补充说明语法 logout 退出当前登录的Shell 补充说明 logout命令 用于退出当前登录的Shell,logout指令让用户退出系统,其功能和logi…

    入门教程 2023年 12月 19日
  • Hello World

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

    2023年 12月 5日
  • reposync

    文章目录reposync概要主要用途选项例子文件 reposync 同步yum存储库到本地目录 概要 reposync [选项] 主要用途 reposync用于将远程yum存储库同…

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

    文章目录unset概要主要用途选项参数返回值例子注意 unset 删除指定的shell变量或函数。 概要 unset [-f] [-v] [-n] [name …] 主要用途 …

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

    文章目录lastlog补充说明语法选项实例 lastlog 显示系统中所有用户最近一次登录信息 补充说明 lastlog命令 用于显示系统中所有用户最近一次登录信息。 lastlo…

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

    文章目录lvcreate补充说明语法选项参数实例 lvcreate 用于创建LVM的逻辑卷 补充说明 lvcreate命令 用于创建LVM的逻辑卷。逻辑卷是创建在卷组之上的。逻辑卷…

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

    文章目录squidclient补充说明语法选项参数 squidclient squid服务器的客户端管理工具 补充说明 squidclient命令 使用squid服务器的客户端管理…

    入门教程 2024年 3月 5日
  • dpkg-preconfigure

    文章目录dpkg-preconfigure补充说明语法选项参数实例 dpkg-preconfigure Debian Linux中软件包安装之前询问问题 补充说明 dpkg-pre…

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

    文章目录nc补充说明语法选项实例 nc nc是网络工具中的瑞士军刀 补充说明 nc命令 全称netcat,用于TCP、UDP或unix域套接字(uds)的数据流操作,它可以打开TC…

    入门教程 2024年 1月 10日
Translate »