Skip to content

AbandonTech/mck8s

Repository files navigation

mck8s

Api

To view the current swagger specification, go here

Running locally

go run ./cmd/api/ --kubeconfig ~/.kube/config # Assuming your kubeconfig is in the default location.

Kubernetes Minecraft Ingress

Enable ingress routing for minecraft servers.

Running locally

Set up a Kubernetes cluster and ensure you are able to address services by their cluster IP. I recommend doing this using minikube for a local cluster and using their minikube tunnel to enable addressing services via their cluster IP.

Once a cluster has been created, and you can address the local services. Run

go run ./cmd/ingress-controller/ --kubeconfig ~/.kube/config # Assuming your kubeconfig is in the default location.

To create some Minecraft Server services, use the provided example manifest. You can apply these to your cluster using.

kubectl apply -f ./deploy/mck8s-server.yml

Resources