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

相关推荐

  • systool

    文章目录systool补充说明语法选项参数实例 systool 显示基于总线、类和拓扑显示系统中设备的信息 补充说明 systool命令 指令显示基于总线、类和拓扑显示系统中设备的…

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

    文章目录rsync补充说明语法选项实例 rsync 远程数据同步工具 补充说明 rsync命令 是一个远程数据同步工具,可通过LAN/WAN快速同步多台主机间的文件。rsync使用…

    入门教程 2024年 3月 4日
  • Helm | Helm 展示所有

    文章目录helm show all简介可选项从父命令继承的命令请参阅 helm show all 显示chart的所有信息 简介 该命令检查chart(目录、文件或URL)并显示所…

    入门教程 2023年 12月 14日
  • 上手编写-柿饼UI“环境检测仪”代码

    文章目录前言第一周:熟悉语法,产品框架第二周:设计UI界面第三周:设计界面,代码实现第四周:测试验证 前言 首先,感谢RTT的这次体验机会,此代码参考了Factory_Demo 先…

    入门教程 2021年 3月 31日
  • 指针

    文章目录指针什么是指针?指针的声明指针的空值指针的解引用向函数传递指针参数不要向函数传递数组的指针,而应该使用切片Go 不支持指针运算 指针 上一节:第十四篇 字符串下一节:第十六…

    2023年 12月 5日
  • pvchange

    文章目录pvchange补充说明语法选项参数实例 pvchange 修改物理卷属性 补充说明 pvchange命令 允许管理员改变物理卷的分配许可。如果物理卷出现故障,可以使用pv…

    入门教程 2024年 3月 1日
  • HTML 基础

    文章目录HTML 基础- 4个实例HTML 标题实例HTML 段落实例HTML 链接实例HTML 图像实例 HTML 基础- 4个实例 不要担心本章中您还没有学过的例子。 您将在下…

    入门教程 2023年 4月 11日
  • HTML 链接

    HTML 使用超级链接与网络上的另一个文档相连。几乎可以在所有的网页中找到链接。点击链接可以从一张页面跳转到另一张页面。 文章目录HTML 超链接(链接)HTML 链接语法实例HT…

    2023年 4月 12日
  • seq

    文章目录seq补充说明语法选项实例 seq 以指定增量从首数开始打印数字到尾数 补充说明 seq命令 用于产生从某个数到另外一个数之间的所有整数。 语法 seq [选项]… 尾…

    入门教程 2024年 3月 4日
  • apt-sortpkgs

    文章目录apt-sortpkgs补充说明语法选项参数 apt-sortpkgs Debian Linux下对软件包索引文件进行排序的工具 补充说明 apt-sortpkgs命令 是…

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