3 ms·
I had no idea... probably shows I haven't hit an advanced enough use case. > why isn't a statefulset just a deployment/pod with PVC mounted? * StatefulSets pr
by MuffinFlavored 2y ago
I had no idea... probably shows I haven't hit an advanced enough use case.
> why isn't a statefulset just a deployment/pod with PVC mounted?
* StatefulSets provide predictable pod names and hostnames (pod-0, pod-1)
* StatefulSets handle pods sequentially (0→1→2), ensuring proper cluster initialization.
* StatefulSets maintain a consistent pod-to-PVC mapping even after pod rescheduling.
* StatefulSets delete pods in reverse order,