3 ms·
I may be wrong but is it not preferable to use StatefulSet for databases, rather than PV, PVC and Deployments? You will not be able to scale anything up anyway
by Too 4y ago
I may be wrong but is it not preferable to use StatefulSet for databases, rather than PV, PVC and Deployments?
You will not be able to scale anything up anyway since it’s a single instance mounting the same data.
- brakmic 4y agoHi, I don't think you're wrong. StatefulSets are simply on a "higher level" than raw Deployments and manually provided PersistentVolumes/Claims. I am thinking about writing another article that shows how to use StatefulSets in similar scenarios. Regards,