I think you're doing this on hard mode. K8s and Longhorn gets you what you want.
You could try Ceph in your setup, but you're going to run into issues if your environments aren't all exactly the same.
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I think you're doing this on hard mode. K8s and Longhorn gets you what you want.
You could try Ceph in your setup, but you're going to run into issues if your environments aren't all exactly the same.
K3s is lighter and less complex
Object storage (the S3 API stuff) is the most logical answer here, it's much simpler and thus more reliable than solutions like Gluster, and the abstraction actually matches your use case. Otherwise something like an NFS share from a central fileserver works too.
But I agree with the other comment that you're trying to do kubernetes on hard mode and most likely with a worse result.
FreeBSD isn't going to have the same support as Linux.
Under Linux you could use Ceph or even garage object storage. There are plenty of other options. Maybe you could try to get Linux stuff working on BSD.
Alternatively you could setup a highly available NFS share.