- Kubernetes:A Complete DevOps Cookbook
- Murat Karslioglu
- 100字
- 2025-04-04 13:20:39
Deleting an application using Helm
Let's perform the following steps to remove an application deployed with Helm from your Kubernetes cluster:
- Use the helm ls command with the --all parameter to list all the releases, including deleted revisions:
helm ls --all
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
my-mysqlrelease 6 Thu Aug 8 02:34:13 2019 DEPLOYED mysql-1.3.0 5.7.14 default
- Delete a release using the --purge parameter. The following command will completely remove the application from your cluster:
helm delete --purge my-mysqlrelease
The preceding command will immediately terminate the Deployment and remove the Helm release from your cluster.