Helm list: Difference between revisions
No edit summary |
|||
Line 13: | Line 13: | ||
=Options= | =Options= | ||
==<span id=''Show_Deleted_Releases></span>--uninstalled== | ==<span id=''Show_Deleted_Releases></span><tt>--uninstalled</tt>== | ||
Shows uninstalled releases for which uninstallation was done with the [[Helm_uninstall#--keep-history|--keep-history]] flag. By default, uninstallation [[Helm_uninstall#Overview|removes historical information]] about the release. | Shows uninstalled releases for which uninstallation was done with the [[Helm_uninstall#--keep-history|--keep-history]] flag. By default, uninstallation [[Helm_uninstall#Overview|removes historical information]] about the release. | ||
<font size=-1> | |||
helm list --uninstalled | helm list --uninstalled | ||
</font> | |||
==--all== | ==<tt>--all</tt>== | ||
<code>helm list</code> shows by default only releases with status "deployed" or "failed". To list releases in all states, use <code>--all</code> | <code>helm list</code> shows by default only releases with status "deployed" or "failed". To list releases in all states, use <code>--all</code> | ||
==<span id='Ordered_by_Date'></span><tt>-d, --date</tt>== | |||
==<span id='Ordered_by_Date'></span>-d, --date== | |||
Show releases sorted by release date. | Show releases sorted by release date. | ||
==Namespace Support== | ==Namespace Support== | ||
===<span id='--all-namespaces'></span>-A|--all-namespaces=== | ===<span id='--all-namespaces'></span><tt>-A|--all-namespaces</tt>=== | ||
Releases can be installed in arbitrary namespaces and this command list all releases in the kubernetes cluster, irrespective on namespace. | Releases can be installed in arbitrary namespaces and this command list all releases in the kubernetes cluster, irrespective on namespace. | ||
===<span id='--namespace'></span><tt>-n|--namespace</tt>=== | |||
===<span id='--namespace'></span>-n|--namespace=== | ==<tt>--o|--output-format</tt>== | ||
==--o|--output-format== | |||
Prints the output in the specified format: table (default), json, yaml. | Prints the output in the specified format: table (default), json, yaml. |
Revision as of 23:52, 8 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.