舵手列表
舵手列表
列出版本
概要
此命令列出指定命名空间的所有版本(如果未指定命名空间,则使用当前命名空间上下文)。
默认情况下,它仅列出已部署或失败的版本。诸如 '--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' 将退出 0,但不会输出任何内容(或者在没有 '-q' 标志的情况下,只会输出标题)。
默认情况下,最多可以返回 256 个项目。要限制此数量,请使用 '--max' 标志。将 '--max' 设置为 0 不会返回所有结果。相反,它将返回服务器的默认值,该值可能远高于 256。将 '--max' 标志与 '--offset' 标志配对允许您分页浏览结果。
helm list [flags]
选项
-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
--qps float32 queries per second used when communicating with the Kubernetes API, not including bursting
--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")
另请参阅
- 舵手 - Kubernetes 的舵手包管理器。