helm list
release を一覧表示します
概要
このコマンドは、指定した namespace のすべての release を一覧表示します(namespace を指定しない場合は現在の namespace コンテキストを使用します)。
デフォルトでは、deployed または failed 状態の release のみを表示します。--uninstalled や --all などのフラグを使用すると、この動作を変更できます。これらのフラグは組み合わせることもできます: --uninstalled --failed。
デフォルトではアルファベット順にソートされます。リリース日でソートするには -d フラグを使用してください。
--filter フラグを指定すると、フィルターとして扱われます。フィルターは正規表現(Perl 互換)で、release のリストに適用されます。フィルターに一致した項目のみが返されます。
$ 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 フィルターを適用せずにすべての release を表示します
-A, --all-namespaces すべての namespace の release を一覧表示します
-d, --date リリース日でソートします
--deployed deployed 状態の release を表示します。他のフラグが指定されていない場合、自動的に有効になります
--failed failed 状態の release を表示します
-f, --filter string 正規表現(Perl 互換)。この表現に一致するすべての release が結果に含まれます
-h, --help help for list
-m, --max int 取得する release の最大数 (default 256)
--no-headers デフォルトの出力形式を使用する際にヘッダーを表示しません
--offset int リストの次の release インデックス。開始値からのオフセットに使用します
-o, --output format 指定した形式で出力します。使用可能な値: table, json, yaml (default table)
--pending pending 状態の release を表示します
-r, --reverse ソート順を逆にします
-l, --selector string フィルタリングに使用するセレクター(ラベルクエリ)。'='、'=='、'!=' をサポートします(例: -l key1=value1,key2=value2)。secret(デフォルト)および configmap ストレージバックエンドでのみ動作します
-q, --short 短い(静か)なリスト形式で出力します
--superseded superseded 状態の release を表示します
--time-format string Go の time フォーマッターを使用して時刻をフォーマットします。例: --time-format "2006-01-02 15:04:05Z0700"
--uninstalled uninstalled 状態の release を表示します('helm uninstall --keep-history' が使用された場合)
--uninstalling 現在アンインストール中の release を表示します
親コマンドから継承されたオプション
--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 directory 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