this post was submitted on 13 Mar 2024
56 points (93.8% liked)

Selfhosted

40341 readers
888 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I would love to hear everyone's opinion.

you are viewing a single comment's thread
view the rest of the comments
[–] AustralianSimon 0 points 8 months ago (2 children)
[–] sudneo 2 points 8 months ago (2 children)

I think k8s is a different beast, that requires way more domain specific knowledge besides server/Linux basic administration. I do run it, but it's an evolution of a need, specifically when you want to manage a fleet of machines running containers.

[–] AustralianSimon 1 points 8 months ago

Can be ott yeah. I set mine up to understand how it all works and just kept things going.

[–] [email protected] 0 points 8 months ago (2 children)

Even then, there's dockerswarm.rocks (linking directly to tutorial to show how easy it is!)

[–] [email protected] 1 points 8 months ago

This website is deprecated.

It's kept around mainly for historical reasons.

I've tried Docker Swarm because Kubernetes seemed like an overkill for a cluster of 4 small-ish servers. There have been several issues (networking for example) that took me two days to solve - by reinstalling the machine completely.

There are some hoops and hurdles along the way, some command will just literally brick your cluster without any notice whatsoever (like removing the second manager, leaving only one and cluster stops responding, but you get no warning that's gonna happen).

Also secrets, where there is no simple way to manage them, or replace them. You can't just replace a secret, you have to remove and recreate it. Which means turning off the service or creating a new secret with a different name and do a rolling update, which is just annoying to do every time unless you can afford a robust CI CD pipeline code that does it automatically.

[–] sudneo 1 points 8 months ago

I really thought swarm was dead :)

To be honest, some kubernetes distributions make the cluster operations minimal (I use k0s managed via ansible)!

Either way, the moment you go from N containers on one box to N containers on M boxes you need to start considering how to handle stateful applications, load balancing, etc. And that in general requires knowledge on a domain which is different from having simply applications wrapped in containers locally.

[–] 69420 -3 points 8 months ago

Kubernetes? I've never even seen her netes.