What are people using for storage on their resource constrained home #kubernetes clusters (lab)?
Currently using longhorn for ease of use. But would like lighter and even simpler. Need all nodes to access shared data. NFS could work, but heard bad things. Don’t see a lot of good info on s3 compatible. I imagine smb would suck. I’m sure I’ll stay where I am. But lazy google I guess. (Even though I have been) #k8s #storage #homelab

@bashfulrobot Check into SSHFS to see if that’ll fit your use case.

You can mount it on your remote nodes as such:

sshfs -o Ciphers=aes128-ctr -o Compression=yes -o ServerAliveCountMax=2 -o ServerAliveInterval=15 remoteuser@server:/data/ /media/mountpoint

Just mess with the compression option and server alive numbers to fit your CPU usage and network.

@vertana Huh. I never even considered that. Then I assume you just mount into your pods at the host level. Any corruption issues, etc? Gotchas?

@bashfulrobot Not that I am aware of. Only thing I can think of is your backing media and backups. Since it’s encrypted, I recommend block-by-block backups (like dd).

But I should note I’ve also never tried it for your specific purposes. I have used it for plenty of file sharing purposes though in professional settings including Active Directory setups with Linux clients. Never had any special issues with this one unlike SMB and NFS which required very specific configs.