kuberneteskubernetes-helm

helm uninstall, how to delete pods in order?


I have some pods but I don't want to put them in a statefulset.

Is there any way to specify the order in which pods should be deleted when executing helm uninstall?


Solution

  • You cant control the delete order, Helm uninstalls the Resources by a predefined list that you can find here: https://github.com/helm/helm/blob/release-2.13/pkg/tiller/kind_sorter.go#L62