Help Center> Cloud Container Engine> FAQ> Chart and Add-on> What Should I Do If a Chart Release Cannot Be Deleted Because the Chart Format Is Incorrect?

What Should I Do If a Chart Release Cannot Be Deleted Because the Chart Format Is Incorrect?

Symptom

If an uploaded chart contains incorrect or incompatible resources, the chart will fail to be installed.

In this case, the chart release cannot work properly. You may not be able to delete the release, the error message "deletion failed" is displayed, and the release is still on the GUI.

Solution

In this case, you can run the kubectl commands to delete the release.

During chart installation, some resources specified in the chart may have been successfully created. You need to manually delete these resources first.

After these resources are deleted, query the ConfigMap corresponding to the chart release in the kube-system namespace.

After the ConfigMap is deleted, the chart release is deleted successfully.