Arena setup
I want to dynamically spin up servers and connect them up to my proxy using rustyconnector for my practice server, i have the eggs ready, I have the randomization. How do I get it to spin up in ptero automagically? I think I can figure out the rustyconnector thing once the servers are spun up
24 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by ashanki#0
Kubernetteees!!!
:pain:
And I don't think Ptero works well with it (at all)
alr we know who to ping
@AeonRemnant get ur ass in here
uh oh
hes the kube man
they need the Kuber
this request is totally an easy 10 minute setup
def
yeah so like... don't... there are like maybe 5 servers, total, that would need something like this, and you're not one of them
that is correct
if you want to do sharding the best way is to just statically have all of your servers running
don't worry about spinning up and spinning down. That's only useful if you're bursting into the cloud and if that's your strategy, you're gonna be spending SO much money it's unreal
Yeah this is the worst way to do it do what @Loudbook said Kubernetes
Kubernetteees
heeelllllll
synonyms actually
Ah, so instead of spinning up, just have the servers ready, reset and queue
yeah so like the way to do what you asked to do is kubernetes or some other scheduling tool (I like nomad, it's way simpler than k8s), but the REAL answer is to not do any auto scaling
yeah
yes
Works if, gonna look into it
if you do autoscaling you're adding complexity and effort for literally zero benefit
Kevin is partially correct.
There’s two ways to do this.
The first is have servers on standby which means each server needs to be able to quickly adjust what it’s doing, but the downside is you’ll get hit by player bursts and high demand loads.
The second is to use Kubernetes and dynamically scale which servers you need at what times, and Kevin is exactly correct, there’s maybe a total of 50 servers EVER that have actually legitimately been justified in using Kubernetes. However, with that said it is designed for this workload perfectly so if you wanted to learn it then this is a decent opportunity to do so.
But with that all said, Kube is absurd overkill in 99.999% of minecraft server usecases.
Fuck it I'm tryna have some fun
In that case welcome to the fucking disaster. :OMEGALUL:
Let's get it 🔥
Lemme know if you want help learning Kube.