From 6da3beda808b1e25512e76821c794044a0089070 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Wed, 17 Dec 2025 10:19:44 -0800 Subject: [PATCH 1/2] Add opt-in startupProbe to minecraft-bedrock --- .../minecraft-bedrock/templates/deployment.yaml | 15 +++++++++++++++ charts/minecraft-bedrock/values.yaml | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/charts/minecraft-bedrock/templates/deployment.yaml b/charts/minecraft-bedrock/templates/deployment.yaml index 1934e5d..dcbbc0d 100644 --- a/charts/minecraft-bedrock/templates/deployment.yaml +++ b/charts/minecraft-bedrock/templates/deployment.yaml @@ -93,6 +93,21 @@ spec: - {{ .Values.minecraftServer.serverPort | quote }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} {{- end }} + {{- if and .Values.startupProbe.enabled (not .Values.restoreMode) }} + startupProbe: + exec: + command: + - mc-monitor + - status-bedrock + - --host + # force health check against IPv4 port + - 127.0.0.1 + - --port + - {{ .Values.minecraftServer.serverPort | quote }} + initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }} + failureThreshold: {{ .Values.startupProbe.failureThreshold }} + periodSeconds: {{ .Values.startupProbe.periodSeconds }} + {{- end }} {{- with .Values.envFrom }} envFrom: diff --git a/charts/minecraft-bedrock/values.yaml b/charts/minecraft-bedrock/values.yaml index eacd9bc..dbb712d 100644 --- a/charts/minecraft-bedrock/values.yaml +++ b/charts/minecraft-bedrock/values.yaml @@ -52,6 +52,11 @@ livenessProbe: initialDelaySeconds: 30 readinessProbe: initialDelaySeconds: 30 +startupProbe: + enabled: false + initialDelaySeconds: 30 + failureThreshold: 60 + periodSeconds: 10 # https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/ shareProcessNamespace: false From 2918029c229159be910f6af8cfc6e692d1ea32cb Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 8 Mar 2026 13:36:02 -0500 Subject: [PATCH 2/2] Bump chart version --- charts/minecraft-bedrock/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/minecraft-bedrock/Chart.yaml b/charts/minecraft-bedrock/Chart.yaml index 1af1112..0fd8db1 100644 --- a/charts/minecraft-bedrock/Chart.yaml +++ b/charts/minecraft-bedrock/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft-bedrock -version: 2.8.4 +version: 2.9.0 appVersion: SeeValues home: https://minecraft.net/ description: Minecraft server