Selfhosted
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.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
They don't have to support it. It's more that the database they are connecting to supports HA, and/or both are using shared storage. So when one container dies, kubernetes restarts another container on another node with the same shared storage attached.
Docker is often configured to automatically restart containers when a container dies, just in case it's a one off bug or something like that, and kubernetes is like a more resilient version of that.
I'm aware of databases that support HA, but the vast majority of self-hosted apps I've encountered use file storage, even if they have a database as well. It sounds like you're proposing shared storage like an NFS share. But if you're upgrading nodes, at some point you have to upgrade the node hosting the shared storage right? Wouldn't that take down all services? Unless you use a distributed storage system, but I've heard those can get very complicated...
Kubernetes makes distributed storage easy.
Basically, all the components get deployed for you, since that's part of what kubernetes is good at.
And then, services/containers can provision storage by requesting storage via making a "claim" and whatever distributed storage providee you have gives it to you.
Have you tried using Ceph or other distributed storage systems in your kubernetes cluster?