Ask HN: Bare-metal replicated storage for a small K8s cluster

1 points by roboben ↗ HN
Hey lovely HN people,

I am running a small and simple 3 node microk8s cluster on standard VPS and looking for a reliable (read replicated to all nodes) simple storage solution. I can create dedicated partitions, I cannot have dedicated disks for block storage. I want to easily add and remove nodes without migrating data around.

What’s the simplest way of doing that? I looked into OpenEBS but cstor needs disks and mayastor sounds massive (runs its own etcd etc) and jiva I don’t know.

Any other ideas?

Thanks!

3 comments

[ 3.4 ms ] story [ 22.5 ms ] thread
Does your app (or apps) running on K8s support object storage (ie S3-compatible)? You might consider running MinIO, if that's the case - https://min.io
sadly not, talking about small databases like MySQL or Postgres
Can your containers mount NFS points?

If so, just run a traditional file server, and export data via NFS (or CIFS)

Beware, though, multiple points writing to the same file at the same time is undefined behavior over NFS