Fixes #22517: Use mc-monitor instead of deprecated mcstatus command. (#22518)

Signed-off-by: Jeff Geerling <geerlingguy@mac.com>
This commit is contained in:
Jeff Geerling
2020-05-25 10:37:11 -07:00
committed by GitHub
parent be1d8ab9d3
commit 3b31442abe
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 1.2.2
version: 1.2.3
appVersion: 1.14.4
home: https://minecraft.net/
description: Minecraft server
+4 -4
View File
@@ -27,9 +27,9 @@ securityContext:
# https://hub.docker.com/r/itzg/minecraft-server/
livenessProbe:
command:
- mcstatus
- localhost:25565
- mc-monitor
- status
- localhost:25565
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 10
@@ -37,9 +37,9 @@ livenessProbe:
timeoutSeconds: 1
readinessProbe:
command:
- mcstatus
- localhost:25565
- mc-monitor
- status
- localhost:25565
initialDelaySeconds: 30
periodSeconds: 5
failureThreshold: 10