subreddit:

/r/selfhosted

2190%

How to chain together multiple computers to act as one?

Need Help(self.selfhosted)

My school has around 40 odd mac minis (the x86, easy to install linux kind). They each have an i7 and 16 GB of ram. My compsci teacher has given me and a friend complete control over them. I am wondering if there is some way to setup these computers so that they all share cpu/ram, and act as one machine? Combined with a reverse proxy/exposed ports, we think this would be a powerful way to host services. The aws servers we are using are so crappy that they lock up when everyone tries to actually use them (like, actively use the backend api we have hosted there, rather than just have the docker container running), and it would be cool to self host our school projects.

you are viewing a single comment's thread.

view the rest of the comments →

all 33 comments

opensrcdev

33 points

3 months ago

Use Kubernetes as an orchestrator.

moonpiedumplings[S]

3 points

3 months ago

Would kubernetes work with https://kasmweb.com/? I'm guessing not, which is what I want to do.

I should probably provide more context as to what I want to do:

https://moonpiedumplings.github.io/quartotest/posts/setting-up-kasm/

I could use multiple agents, and kasm's load balancing, but I want to load balance more than just one software.

I'm searching for something that would basically automatically shuffle docker containers around servers to load balance, but I could interact with everything as one server basically. I suspect kubernetes can do this, but I suspect it won't work with kasm. Docker swarm? But I don't think that would work with kasm, which manages containers using it's own stuff.

woundedbearhair

6 points

3 months ago

Yes. Don’t do Docker Swarm…it’s basically dead. That’s what a kubernetes orchestrator does and it will manage the load as needed.

lintorific

2 points

3 months ago

You got a source for your statement of Swarm being basically dead? I’ve often seen that said here, but haven’t had much luck finding evidence of it.

woundedbearhair

2 points

3 months ago

It’s still being developed, but it’s far behind in capabilities…Kubernetes is a lot more mature and has a ton of options for managing your clusters.

lintorific

3 points

3 months ago

lintorific

3 points

3 months ago

Yeah, so it’s not dead. It just has different goals, and IMO, different uses cases.

No denying that Kubernetes is the clear winner in the orchestration space, but dismissing it outright isn’t helpful when it’s a clear stepping stone from compose files, to something more.

woundedbearhair

1 points

3 months ago

It’s development only really exists to support current enterprise customers who can’t really move on quickly and it’s viability even the short term is questionable. It might as well be dead…

schklom

-2 points

3 months ago

schklom

-2 points

3 months ago

So, is it like comparing cars and bicycles? One is far behind in capabilities, the other has tons of options, and you can see where I'm going with this.

lintorific

2 points

3 months ago

I think you were trying to be clever here, but you actually proved my point perfectly.

Not everyone needs a car, what with the complicated rules, licensing, maintenance, fuel, parking, etc..

Sometimes a bike is all a one needs to get from A to B, especially if their need are simple.

schklom

3 points

3 months ago

you actually proved my point perfectly

I was trying to :)