Kubernetes manifests to deploy a Paper Minecraft server on a k3s cluster. Uses persistent storage on the host.
- Create directory
/home/kubeuser/mc-server-data/server1on the node and chown permissions. - Apply the manifests in order:
kubectl apply -f mc-pv.yaml
kubectl apply -f mc-pvc.yaml
kubectl apply -f mc-deployment.yaml
kubectl apply -f mc-service.yaml- Check pod status and logs to verify the server is running.
Use your node’s IP and the exposed port (default 25565).