I'm a volunteer developer working in an NGO, we don't have much money so some companies gives us graciously some old hardware that I try to use to develop web applications for the NGO. As I'm lonely, I'm trying to automate everything and then I want to use docker, and k8s for staging and production. I'm not a k8s expert, I'm a very beginner and I'm learning on the job.
I've installed a k8s cluster which is working, but now I have issue with storage. I don't know what to choose to provision it.
We have two NAS replicated between them. We can share volumes with iSCSI, CIFS, NFS, etc. What I need is to use this storage as backend. But I also need to choose the persistent volume size (with Claims), multi-attach, and snapshots.
Solutions like CEPH, GlusterFS, or OpenEBS, seems to not be good because it will replicate data on multiple disks while the NAS already doing that.
I've tried targetd
which is doing what I need, but I can't attach a same volume to multiple containers so I can't use that and this is not very proven for production.
It also seems that NFS provisioner is not suitable for production.
I only need something that use one disk to create subdisks (like LVM) asked by the k8s, and the attach them to pods as block storage or other.
Does this solution exists? Is there any people in the same usecase than me ?
Hope my issue is understandable and you want to help me.. Regards