I am building a platform on top of Kubernetes that, among other requirements, should:
I'm addressing the 1st point by using static binaries for k8s components and container engine. Coupled with minimal host tooling that's also static binaries.
I'm still looking for a solution for persistent storage.
What I evaluated/used so far:
So the question is what other option do I have for Kubernetes persistent storage while using the cluster node disks.
The below options can be considered
kubernetes version 1.14.0 on wards supports local persistent volumes. You can make use of local pv's using node labels. You might have to run stateful work loads in HA ( master-slave ) mode so the data would be available in case of node failures
You can install nfs server on one of the cluster node and use it as storage for your work loads. nfs storage supports ReadWriteMany. This might work well if you setup the cluster on baremetal
Rook is also one of the good option which you have already tried but it is not production ready though.
Among the three, first option suits your requirement. Would like to hear any other options from the community.