Helm uninstall: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=
* https://helm.sh/docs/helm/#helm-delete
* https://helm.sh/docs/using_helm/#helm-delete-deleting-a-release


=Internal=
=Internal=


* [[Helm Operations#Release_Commands|Helm Operations]]
* [[Helm Operations#uninstall|Helm Operations]]
* [[Helm_Concepts#Release_Operations|Helm Concepts]]
* [[Helm_Concepts#Release_Operations|Helm Concepts]]


Line 12: Line 9:
{{Note|<center>Revised for Helm 3</center>}}
{{Note|<center>Revised for Helm 3</center>}}


  helm delete --purge some-release
<code>helm uninstall</code> was introduced in Helm 3, and it is the replacement of <code>helm delete</code>, which still works as an alias.
 
  helm uninstall <''release-name''>
 
The command removes by default the release history. To keep the release history, use [[#--keep-history|--keep-history]].


=Options=
=Options=


==--purge==
==--keep-history==
Remove all associated resources and mark the release as deleted, but retain the release history.


Remove the release from the store and make its name free for later use.
=Keep a Resource from Being Uninstalled=
{{Internal|Helm_Concepts#Preventing_Resource_Deletion_upon_Uninstallation|Preventing Resource Deletion upon Uninstallation}}

Latest revision as of 03:38, 6 November 2020

External

Internal

Overview


Revised for Helm 3


helm uninstall was introduced in Helm 3, and it is the replacement of helm delete, which still works as an alias.

helm uninstall <release-name>

The command removes by default the release history. To keep the release history, use --keep-history.

Options

--keep-history

Remove all associated resources and mark the release as deleted, but retain the release history.

Keep a Resource from Being Uninstalled

Preventing Resource Deletion upon Uninstallation