Pod management policy for StatefulSet in Kubernetes
To control this behavior in StatefulSet .spec.podManagementPolicy was introduced:
- OrderedReady Pod Management. OrderedReady pod management is the default for StatefulSets. It tells the StatefulSet controller to respect the ordering guarantees demonstrated above
- Parallel Pod Management. Parallel pod management tells the StatefulSet controller to launch or terminate all Pods in parallel, and not to wait for Pods to become Running and Ready or completely terminated prior to launching or terminating another Pod. This option only affects the behavior for scaling operations. Updates are not affected