Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Hi,

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,




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: