Skip to content

Deploying Vanilla Minecraft Server to Kubernetes #1591

Answered by itzg
unruha asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like I need to update that example.

What's happening with yours is that the server hasn't fully started up in time, so it then fails the pod. Here's what I use lately in my deployment :

          readinessProbe:
            exec:
              command: ["/usr/local/bin/mc-monitor", "status", "--host", "localhost"]
            initialDelaySeconds: 20
            periodSeconds: 10
            failureThreshold: 12

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@unruha
Comment options

Answer selected by unruha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants