What are the best on-premise storage solutions for Kubernetes?
Asked by
CuriousTurtle88
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?
Answers
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!
Reply to this answer
You might want to check out Rook combined with Ceph. It's a solid choice for on-premise Kubernetes storage.
Reply to this answer
Add your answer
Answers are reviewed before publication.
CuriousTurtle88: Iโve had a look at LongHorn, but it seems geared for distributed storage instead of keeping everything local. OpenEBS sounds promising, though!