From 015c96ad08c6a71270a9164217b2295964cbf747 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Sat, 13 Sep 2025 18:04:40 +0500 Subject: [PATCH] fix: add local dns for minecraft and remove liveness probes from SS --- minecraft/service.yaml | 2 ++ minecraft/statefulset.yaml | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/minecraft/service.yaml b/minecraft/service.yaml index c3c0541..3c4ac07 100644 --- a/minecraft/service.yaml +++ b/minecraft/service.yaml @@ -6,6 +6,8 @@ metadata: namespace: minecraft labels: app: monifactory-server + annotations: + external-dns.alpha.kubernetes.io/hostname: dogar.dev spec: type: ClusterIP ports: diff --git a/minecraft/statefulset.yaml b/minecraft/statefulset.yaml index 1ecaaa8..f522d2f 100644 --- a/minecraft/statefulset.yaml +++ b/minecraft/statefulset.yaml @@ -51,18 +51,6 @@ spec: limits: cpu: 8 memory: "8Gi" - readinessProbe: - exec: - command: - - mc-health - initialDelaySeconds: 30 - periodSeconds: 30 - livenessProbe: - exec: - command: - - mc-health - initialDelaySeconds: 30 - periodSeconds: 30 volumeMounts: - name: monifactory-data mountPath: /data