Helm list

From NovaOrdis Knowledge Base
Revision as of 00:06, 9 February 2022 by Ovidiu (talk | contribs) (→‎--f|--filter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

The command lists releases that has a "deployed" or "failed" state in the "default" namespace. This behavior can be modified with the flags --uninstalled and --all. To list releases from all namespaces see --all-namespaces.

helm list|ls

Options

--uninstalled

Shows uninstalled releases for which uninstallation was done with the --keep-history flag. By default, uninstallation removes historical information about the release.

helm list --uninstalled

--all

helm list shows by default only releases with status "deployed" or "failed". To list releases in all states, use --all

-d, --date

Show releases sorted by release date.

Namespace Support

-A|--all-namespaces

Releases can be installed in arbitrary namespaces and this command list all releases in the kubernetes cluster, irrespective on namespace.

-n|--namespace

--o|--output-format

Prints the output in the specified format: table (default), json, yaml.

--f|--filter

Specifies a filter string, which is a Perl-compatible regular expression applied to the release name. Any releases whose names match the expression will be included in the results. To list "blue" and only "blue":

helm list -f '^blue$'