All Projects → hoeghh → K8s Minecraft

hoeghh / K8s Minecraft

Licence: mit
Running a Minecraft server in Kubernetes

Projects that are alternatives of or similar to K8s Minecraft

Helm Charts
Helm Charts for Jaeger backend
Stars: ✭ 94 (+154.05%)
Mutual labels:  helm-charts, mustache
Pomerium Helm
Official helm charts for Pomerium.
Stars: ✭ 32 (-13.51%)
Mutual labels:  helm-charts, mustache
Helm Charts
Kubernetes Helm Charts for the Center for Open Science
Stars: ✭ 88 (+137.84%)
Mutual labels:  helm-charts, mustache
Helm Charts
Contains Helm charts for Kubernetes related open source tools
Stars: ✭ 95 (+156.76%)
Mutual labels:  helm-charts, mustache
K8s
Kubernetes Helm Charts for the ORY ecosystem.
Stars: ✭ 127 (+243.24%)
Mutual labels:  helm-charts, mustache
Argo Helm
ArgoProj Helm Charts
Stars: ✭ 263 (+610.81%)
Mutual labels:  helm-charts, mustache
Helm Charts
Jenkins community Helm charts
Stars: ✭ 154 (+316.22%)
Mutual labels:  helm-charts, mustache
Helm Charts
Prometheus community Helm charts
Stars: ✭ 962 (+2500%)
Mutual labels:  helm-charts, mustache
Stock Analysis Engine
Backtest 1000s of minute-by-minute trading algorithms for training AI with automated pricing data from: IEX, Tradier and FinViz. Datasets and trading performance automatically published to S3 for building AI training datasets for teaching DNNs how to trade. Runs on Kubernetes and docker-compose. >150 million trading history rows generated from +5000 algorithms. Heads up: Yahoo's Finance API was disabled on 2019-01-03 https://developer.yahoo.com/yql/
Stars: ✭ 605 (+1535.14%)
Mutual labels:  helm-charts
Feather
A Minecraft server implementation in Rust
Stars: ✭ 896 (+2321.62%)
Mutual labels:  minecraft-server
Lightncandy
An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),
Stars: ✭ 565 (+1427.03%)
Mutual labels:  mustache
Mormot
Synopse mORMot ORM/SOA/MVC framework
Stars: ✭ 607 (+1540.54%)
Mutual labels:  mustache
Helm Charts
Public Helm charts from Flant.
Stars: ✭ 26 (-29.73%)
Mutual labels:  helm-charts
Minecase
Minecraft server based on Orleans
Stars: ✭ 581 (+1470.27%)
Mutual labels:  minecraft-server
Coreprotect Lookup Web Interface
A flexible lookup web interface for CoreProtect 2
Stars: ✭ 29 (-21.62%)
Mutual labels:  minecraft-server
Awesome Helm
Collaborative list of awesome helm charts and resources. PRs are welcome!
Stars: ✭ 543 (+1367.57%)
Mutual labels:  helm-charts
Cp Helm Charts
The Confluent Platform Helm charts enable you to deploy Confluent Platform services on Kubernetes for development, test, and proof of concept environments.
Stars: ✭ 539 (+1356.76%)
Mutual labels:  helm-charts
Mustache
A simple Mustache parser/evaluator for Swift
Stars: ✭ 20 (-45.95%)
Mutual labels:  mustache
Mcsmanager
轻量级,开箱即用,多实例和支持 Docker 的 Minecraft 服务端管理面板
Stars: ✭ 829 (+2140.54%)
Mutual labels:  minecraft-server
Nukkit
Cloudburst Nukkit - Nuclear-Powered Minecraft: Bedrock Edition Server Software
Stars: ✭ 776 (+1997.3%)
Mutual labels:  minecraft-server

Run on Docker host

First create a directory with read/write acces for a user with uid 1000. This is usually yourself. Find the use account with uid 1000 by running :

id 1000

Now start Minecraft witht he following command

# Get current username, if this has uid 1000.
# If not, then replace with the username that has.
user=$(whoami)

# Create a folder in current users home folder for persistance
mkdir /home/$user/minecraft-server

# Start minecraft
# 1. Accept the eula
# 2. Map minecraft port to host
# 4. Mount volume in container for persistance
# 5. name of the docker image to use

docker run -d     \
  -e EULA=true    \
  -p 25565:25565  \
  -v /home/$user/minecraft-server:/minecraft-data/ \
  --name minecraft \
  hoeghh/minecraft:1.12.2

Running in Kubernetes

You need a Kubernetes cluster and Helm installed

Edit the PV file minecraft.pv.yaml to point to your nfs share. Then apply the PV and PVC, and then helm install minecraft.

kubectl apply -f minecraft.pv.yaml
kubectl apply -f minecraft.pvc.yaml
cd helmchart/k8s-minecraft/
helm install . --name overworld

As for now, proxy the pod to your host

kubectl port-forward overworld-k8s-minecraft-0 25565:25565 

Connecting Minecraft client to our server

Start minecraft, and create a new server connection. Set the location to localhost and save.

Later i will use an Ingress Controller for Kubernetes to expose it outside the cluster

A sample world

I have added a sample world with a small house and some kubernetes paintings. Just unzip it and place it in the volume.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].