StatefulSet is the workload API object used to manage stateful applications.
Manages the deployment and scaling of a set of Pods, and provides guarantees about the ordering and uniqueness of these Pods.
A StatefulSet operates under the same pattern as any other Controller. You define your desired state in a StatefulSet object, and the StatefulSet controller makes any necessary updates to get there from the current state.
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
Sounds perfect, right? Well, I’ve found that the limitations and behaviours of StatefulSets are so far away from what I want that I’ll steer clear of them completely. And in any case, they aren’t necessary.
Continue reading