Helm | Helm 列表

helm list

列举发布版本

简介

该命令会列举出指定命名空间的所有发布版本,(如果没有指定命名空间,会使用当前命名空间)。

默认情况下,只会列举出部署的或者失败的发布,像’–uninstalled’或者’–all’会修改默认行为。这些参数可以组合使用:’–uninstalled
–failed’。

默认情况下,列表按字母排序。使用’-d’参数按照日期排序。

如果使用–filter参数,会作为一个过滤器。过滤器是应用于发布列表的正则表达式(兼容Perl)。只有过滤器匹配的才会返回。

$ helm list --filter 'ara[a-z]+'
NAME                UPDATED                                  CHART
maudlin-arachnid    2020-06-18 14:17:46.125134977 +0000 UTC  alpine-0.1.0

如果未找到结果,’helm list’会退出,但是没有输出(或者使用’-q’,只返回头部)。

默认情况下,最多返回256项,使用’–max’限制数量,’–max’设置为0不会返回所有结果,而是返回服务器默认值,可能要比256更多。
同时使用’–max’和’–offset’参数可以翻页显示。

可选项

  -a, --all                  show all releases without any filter applied
  -A, --all-namespaces       list releases across all namespaces
  -d, --date                 sort by release date
      --deployed             show deployed releases. If no other is specified, this will be automatically enabled
      --failed               show failed releases
  -f, --filter string        a regular expression (Perl compatible). Any releases that match the expression will be included in the results
  -h, --help                 help for list
  -m, --max int              maximum number of releases to fetch (default 256)
      --no-headers           don't print headers when using the default output format
      --offset int           next release index in the list, used to offset from start value
  -o, --output format        prints the output in the specified format. Allowed values: table, json, yaml (default table)
      --pending              show pending releases
  -r, --reverse              reverse the sort order
  -l, --selector string      Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Works only for secret(default) and configmap storage backends.
  -q, --short                output short (quiet) listing format
      --superseded           show superseded releases
      --time-format string   format time using golang time formatter. Example: --time-format "2006-01-02 15:04:05Z0700"
      --uninstalled          show uninstalled releases (if 'helm uninstall --keep-history' was used)
      --uninstalling         show releases that are currently being uninstalled

从父命令继承的命令

      --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%88%97%e8%a1%a8/

(0)
AuroraAurora站点维系者
上一篇 2023年 12月 14日 下午4:32
下一篇 2023年 12月 14日 下午6:09

相关推荐

  • smartmontools

    文章目录smartmontools安装语法选项参数实例以指定的间隔运行,同时又能通知硬盘的测试结果 smartmontools Smartmontools 是一种硬盘检测工具,通过…

    入门教程 2024年 3月 5日
  • suspend

    文章目录suspend概要主要用途选项返回值例子注意 suspend 挂起shell的执行。 概要 suspend [-f] 主要用途 挂起shell的执行,直到收到SIGCONT…

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

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

    2023年 12月 5日
  • pvremove

    文章目录pvremove补充说明语法选项参数实例 pvremove 删除一个存在的物理卷 补充说明 pvremove命令 用于删除一个存在的物理卷。使用pvremove指令删除物理…

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

    文章目录jq补充说明安装语法选项例子 jq 一个灵活的轻量级命令行JSON处理器 补充说明 jq 是 stedolan 开发的一个轻量级的和灵活的命令行JSON处理器,源码请参考 …

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

    文章目录pwconv补充说明语法实例 pwconv 用来开启用户的投影密码 补充说明 pwconv命令 用来开启用户的投影密码。Linux系统里的用户和群组密码,分别存放在名称为p…

    入门教程 2024年 3月 1日
  • 结构体取代类

    文章目录结构体取代类Go 支持面向对象吗?使用结构体,而非类使用 New() 函数,而非构造器 结构体取代类 上一节:第二十五篇 mutex下一节:第二十七篇 组合取代继承 这是本…

    2023年 12月 5日
  • vdfuse

    文章目录vdfuse补充说明什么是VirtualBox语法选项实例 vdfuse VirtualBox软件挂载VDI分区文件工具 补充说明 vdfuse命令 是VirtualBox…

    入门教程 2024年 3月 11日
  • IOS音频和视频(Audio & Video)

    文章目录简介实例步骤注意项输出 简介 音频和视频在最新的设备中颇为常见。 将iosAVFoundation.framework和MediaPlayer.framework添加到Xc…

    2023年 4月 1日
  • nano

    文章目录nano补充说明语法选项用法 nano 字符终端文本编辑器 补充说明 nano 是一个字符终端的文本编辑器,有点像DOS下的editor程序。它比vi/vim要简单得多,比…

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