Hi All,
I am facing the issue described in StatefulSet - can't rollback from a broken state · Issue #67250 · kubernetes/kubernetes · GitHub
The way around avoiding this, as discussed by community users, is to set the podManagementPolicy
to Parallel
.
I have tried this and it works as expected, when I update the pod template to a good configuration it terminates all pods and does not wait for pods to be Running and Ready or completely terminated before launching or terminating another Pod.
All was good until I read the documentation for podManagementPolicy
further, I saw one more line:
This option only affects the behaviour for scaling operations. Updates are not affected.
Setting it to Parallel
worked for me and when I update the configuration, it works, contradicting what the above line in the docs says. Does this statement want to convey something else or am I missing something here?
Attaching a link to its doc: StatefulSets | Kubernetes