this post was submitted on 24 Sep 2023
29 points (93.9% liked)

Selfhosted

60281 readers
827 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I'm running Docker on Ubuntu server; around 50 containers running, most admin via Portainer. Configuration files and small databases for container applications are stored on the local SSD, media and larger files are stored on a NAS.

NAS data and the container folders are backed up.

I have a second identical machine doing nothing. What would you recommend researching to add resilience to this setup? Top priority is quick and easy restoration should the SSD fail - everything else is relatively easy to replace.

I'll create an SSD RAID but I like the idea of a second host.

you are viewing a single comment's thread
view the rest of the comments
[–] eluvatar@programming.dev 8 points 2 years ago (1 children)

Container orchestration is what you're looking for. Kubernetes is the most popular, but it might be overkill it's hard to say based on your setup. However it's definitely useful experience to know how to run it.

[–] Sim@lemmy.nz 1 points 2 years ago (1 children)

Thanks. Could I achieve a simple 2-host solution with Kubernetes though?

[–] eluvatar@programming.dev 3 points 2 years ago

Nothing about k8s is simple. But yes you can achieve that.

Take a look at Rancher for actually running a cluster.