Helm List
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」は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")
参考資料
- helm - Kubernetes 用の Helm パッケージマネージャー。