Helm uninstall: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(15 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]]


=Overview=
=Overview=
{{Note|<center>Revised for Helm 3</center>}}
<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]].


<font color=darkgray>TODO: what is --purge?
=Options=


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


</font>
=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