From 23fdc6bddc1f98b191d95cf2cd65c84643081981 Mon Sep 17 00:00:00 2001 From: Irfan Date: Tue, 18 Nov 2025 10:33:20 +0000 Subject: [PATCH] Add probes for MS and fix the named port --- mapstore/latest/templates/statefulset.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/mapstore/latest/templates/statefulset.yaml b/mapstore/latest/templates/statefulset.yaml index 1191b43..209d8dd 100644 --- a/mapstore/latest/templates/statefulset.yaml +++ b/mapstore/latest/templates/statefulset.yaml @@ -30,8 +30,25 @@ spec: {{- end }} ports: - name: http - containerPort: 80 + containerPort: 8080 protocol: TCP + startupProbe: + httpGet: + path: /mapstore/ + port: http + failureThreshold: 136 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /mapstore/ + port: http + initialDelaySeconds: 5 + periodSeconds: 10 + readinessProbe: + httpGet: + path: /mapstore/ + port: http + successThreshold: 3 resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: