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
Admincraft Meta
Admincraft Meta3mo ago
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
Loudbook
Loudbook3mo ago
Kubernetteees!!!
Tamz
Tamz3mo ago
:pain:
Loudbook
Loudbook3mo ago
And I don't think Ptero works well with it (at all)
Tamz
Tamz3mo ago
alr we know who to ping @AeonRemnant get ur ass in here
Loudbook
Loudbook3mo ago
uh oh
Tamz
Tamz3mo ago
hes the kube man they need the Kuber
Loudbook
Loudbook3mo ago
this request is totally an easy 10 minute setup def
Kevin
Kevin3mo ago
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
Loudbook
Loudbook3mo ago
that is correct
Kevin
Kevin3mo ago
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
Blstmo
Blstmo3mo ago
Yeah this is the worst way to do it do what @Loudbook said Kubernetes
Loudbook
Loudbook3mo ago
Kubernetteees heeelllllll synonyms actually
Ashank
AshankOP3mo ago
Ah, so instead of spinning up, just have the servers ready, reset and queue
Kevin
Kevin3mo ago
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
Loudbook
Loudbook3mo ago
yeah
Kevin
Kevin3mo ago
yes
Ashank
AshankOP3mo ago
Works if, gonna look into it
Kevin
Kevin3mo ago
if you do autoscaling you're adding complexity and effort for literally zero benefit
AeonRemnant
AeonRemnant3mo ago
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.
Ashank
AshankOP3mo ago
Fuck it I'm tryna have some fun
AeonRemnant
AeonRemnant3mo ago
In that case welcome to the fucking disaster. :OMEGALUL:
Ashank
AshankOP3mo ago
Let's get it 🔥
AeonRemnant
AeonRemnant3mo ago
Lemme know if you want help learning Kube.

Did you find this page helpful?