Kubernetes deleting statefulset deletes pod inspite of cascade=false

5/31/2018

I am upgrading from one version of a helm chart to a newer version which fails due to changes in one of the statefulsets. My solution to this was to delete the statefulset and then upgrade. I wanted to delete the stateful set without deleting the pod so i used the --cascade=false argument, but regardless the pod is immediately terminated upon the statefulsets deletion.

kc delete --cascade=false statefulsets/trendy-grasshopper-sts

Am I doing something wrong? How can I diagnose?

-- Jacxel
kubernetes
kubernetes-helm

0 Answers