Inspiration

It all started a couple days before the hackathon. Some of my friends wanted me to spin back up my old minecraft servers, and I though "Hey, why not just go overkill and create a minecraft server architecture based on containers and container orchestration, shouldn't be hard I hope"

What it does

So far it's a docker image including a version of spigot that gets compiled from source on image build (and not container creation like most other attempts we found online).

How we built it

Using a Dockerfile and a k8s cluster running on azure and google cloud

Challenges we ran into

Setting up an azure kubernetes service with a container registry with proper permissions took a long time. Setting up a proper ingress controller and load balancer also caused problems so they both got stripped. On the other hand, everything was very quick and easy to setup.

Accomplishments that we're proud of

We've got a Spigot 1.13.2 server running in a k8s cluster on both major cloud platforms, HOW COOL IS THAT? By using this type of architecture, the possibilities are endless.

What we learned

We learned that designing a dockerfile, a deployment, a service and an ingress controller was way too much for one day.

What's next for Minecraft Spigot server running on kubernetes

More iterations on the project's architecture as a whole. A proper ingress solution and persistence. After that, maybe a common plugin folder for the plugins that need to be configured identically on multiple pods.

Built With

Share this project:

Updates