Hey everyone! I'm diving into managing my databases with CloudNativePG and need some advice. What CSI driver do you all recommend for it? I've been looking at TopoLVM since it offers some nice features. Longhorn also caught my eye because it has this `strict-local` option that keeps data on the same node where the pod runs. I'd love to hear your thoughts on this and what your preferred choices are!
2 Answers
For PostgreSQL, I think LocalPath is totally fine. Replication and reattaching volumes to other nodes doesn't matter much in this case. I'd recommend trying TopoLVM for some extra features, but don't overthink it too much. Just steer clear of Ceph; it's not great for databases.
Are you running Kubernetes in the cloud or on-prem? Do you have external storage available?
We're on-premises with 8 nodes, each having 2 to 4 SSD disks. We don't have external storage set up right now.