Skip to content

A personal project deploying my public server for the popular videogame Minecraft using Kubernetes

Notifications You must be signed in to change notification settings

Dwalker0357/MineCraft-Kubernetes-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Install Kube CLI (Ubuntu 20):

sudo su –
apt update apt upgrade –y

curl -LO https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl

curl -LO https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256

echo "$(<kubectl.sha256) kubectl" | sha256sum –check

install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

kubectl version --client

Log into Gshell:

gcloud auth login

Spin up your cluster:

gcloud container clusters create ravensword --num-nodes=3 --machine-type=e2-standard-4 --zone=us-central1-a

Add cluster to KubeSail:

kubectl create -f https://byoc.kubesail.com/dwalker0357.yaml

Server Specs:


Ram: 10gb
Vcpu: 4
Persistent-Volume: 2GB
Replicas: 1

GCP cluster Specs:


gcloud container clusters create ravensword --num-nodes=3 --machine-type=e2-standard-4 --zone=us-central1-a

e2-standard-4 (4 vCPUs, 16 GB memory)
e2-standard-4 (4 vCPUs, 16 GB memory)
e2-standard-4 (4 vCPUs, 16 GB memory)

Google Cloud Platform Cluster

cluster

nodes


Yaml File Deployment

deployment


Server Deployment Pod Created And Running:

pod


Server Deployment Replicas 1/1 Successfully Created:

deploymentcli


LoadBalancer Service Successfully Created:

LoadBalancer


Deployed Server Player Logs:

logs


Connecting To Server Via LoadBalancer IP Address

serverinfo


Successful Ping To Deployed Server

home


Successful Game Connection Via LoadBalancer Port 25565

game

About

A personal project deploying my public server for the popular videogame Minecraft using Kubernetes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published