I'm setting up a Kubernetes cluster on-premise and I'm unsure about which storage solutions I should use. My main requirement is to have data stored directly on the node. Initially, I tried using HostPath, but I've read that it doesn't respect PVC settings and just fills up disk space until it runs out, which doesn't feel ideal for production. I've also seen warnings that HostPath isn't recommended for production environments but I'm unclear on the rationale behind that.
I'm looking for alternatives to HostPath that can adhere to PVC limits and support volume expansion. Any suggestions for CSI storage options for my on-premise setup?
2 Answers
You might want to check out Rook combined with Ceph. It's a solid choice for on-premise Kubernetes storage.
Consider LongHorn if you want persistent local disk storage. Just keep in mind, EBS won't work without internet connectivity in your on-prem setup. OpenEBS is also a good option to look into!
I’ve had a look at LongHorn, but it seems geared for distributed storage instead of keeping everything local. OpenEBS sounds promising, though!