In this lab we are going to install and configure Minecraft with the option to load custom worlds/maps.
We are assuming you are running the Equivalent to the SUSE at Home Base which includes the following:
* Rancher 2.5+ or 2.6+
* Kubernetes Cluster (k3s)
LoadBalancer - Metallb
* Persistent Storage
Storage Class defined and set as Default Storage Class
There are 2 versions of the Minecraft server, Java and Bedrock
Java is the original version and has the most mods, skins and worlds but it only supports Computer based (Java) clients (No consoles). It also has a large variety of options you can tweak (I,E, Hardcore Survival mode) when you launch the server.
Bedrock is was written by Microsoft in 2017 from the ground up. It supports modern console (unlike the Java version). It currently has less mods and worlds but this is quickly changing. It has less options to customize your World on Launch
For additional information check out the link below:
https://www.thegamer.com/minecraft-bedrock-vs-java-comparison/
Select App & Marketplace -> Chart Repositories
Name: minecraft
Index url: https://itzg.github.io/minecraft-server-charts/
You should now see the Minecraft Repo
Click on Install in the upper right to start the install
minecraftServer:
eula: 'TRUE'
motd: Welcome to Minecraft on Kubernetes!
rcon:
enabled: true
password: CHANGEME!
serviceType: LoadBalancer
serviceType: LoadBalancer
persistence:
dataDir:
Size: 1Gi
enabled: true
resources:
requests:
cpu: 1000m
memory: 1024Mi
Cluster Explorer -> Services
From the Minecraft Client Select Multiplayer and enter the IP address of the Minecraft Service you just created.
Custom Worlds are stored as zip files and need to be easily downloaded by the pod on launch (I.E. http://server.xyz.com/MyCoolWorld.zip)
Checkout http://www.planetminecraft.com
*Make sure you download only Java versions
http://server.xyz.com/MyCoolWorld.zip
When editing the Values.yaml (Step 5) add the following value
minecraftServer:
downloadWorldUrl: http://server.xyz.com/MyCoolWorld.zip
Click on Install in the upper right to start the install
Click on Values YAML and change/add at a Minimum, change the following items
minecraftServer:
eula: 'TRUE'
serviceType: LoadBalancer
persistence:
annotations: {}
dataDir:
Size: 1Gi
enabled: true
resources:
requests:
cpu: 1000m
memory: 1024Mi






