Helm list: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 32: Line 32:


==<tt>--f|--filter </tt>==
==<tt>--f|--filter </tt>==
Specifies a filter string, which is a Perl-compatible regular expression. Any releases whose names match the expression will be included in the results. To list "blue" and only "blue":
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":
<font size=-1>
<font size=-1>
  helm list -f '^blue$'
  helm list -f '^blue$'
</font>
</font>

Latest revision as of 00:06, 9 February 2022

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$'