Using helm is super cool, but what is the purpose of using helm delete --purge
I can see the doc says:remove the release from the store and make its name free for later use
So what is the purpose of saving the name and not releasing it with helm delete
?
When you do helm delete $RELEASE_NAME it deletes all resources but keeps the record with $RELEASE_NAME in case you want to rollback. You can see removed releases via helm ls -a . Whereas helm delete --purge $RELEASE_NAME removes records and make that name free to be reused for another installation.
'helm uninstall': Uninstalling a ReleaseIn Helm 3, deletion removes the release record as well. If you wish to keep a deletion release record, use helm uninstall --keep-history . Using helm list --uninstalled will only show releases that were uninstalled with the --keep-history flag.
If you need to uninstall the deployed release, run the delete command on the Helm command line. The command removes all the Kubernetes components that are associated with the chart and deletes the release.
When you do helm delete $RELEASE_NAME
it deletes all resources but keeps the record with $RELEASE_NAME in case you want to rollback. You can see removed releases via helm ls -a
. Whereas helm delete --purge $RELEASE_NAME
removes records and make that name free to be reused for another installation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With