From d419ffaa5ec41a85c6ad832e8dd0add8f89c5c01 Mon Sep 17 00:00:00 2001 From: outductor Date: Sat, 13 Jan 2024 21:14:46 +0900 Subject: [PATCH] fix probe --- .../apps/growi-system/mongodb/statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml index 0773a0dba..84dfc3875 100644 --- a/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml +++ b/seichi-onp-k8s/manifests/seichi-kubernetes/apps/growi-system/mongodb/statefulset.yaml @@ -25,7 +25,7 @@ spec: livenessProbe: exec: command: - - mongo + - mongosh - --eval - "db.adminCommand('ping')" initialDelaySeconds: 30 @@ -33,7 +33,7 @@ spec: readinessProbe: exec: command: - - mongo + - mongosh - --eval - "db.adminCommand('ping')" initialDelaySeconds: 5