From a6e7a1bec35fd3ef646b1a8a542388dd77929eec Mon Sep 17 00:00:00 2001 From: kurokobo Date: Thu, 28 Mar 2024 03:21:23 +0900 Subject: [PATCH] fix: correct readinessProbe for web pod (#1786) fix: correct readinesProbe for web pod --- roles/installer/templates/deployments/web.yaml.j2 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/roles/installer/templates/deployments/web.yaml.j2 b/roles/installer/templates/deployments/web.yaml.j2 index 568a6d69..64b32177 100644 --- a/roles/installer/templates/deployments/web.yaml.j2 +++ b/roles/installer/templates/deployments/web.yaml.j2 @@ -178,11 +178,10 @@ spec: {% endif %} {% if web_readiness_period|int > 0 %} readinessProbe: - exec: - httpGet: - path: /api/v2/ping/ - scheme: HTTP - port: 8052 + httpGet: + path: /api/v2/ping/ + scheme: HTTP + port: 8052 initialDelaySeconds: {{ web_readiness_initial_delay }} periodSeconds: {{ web_readiness_period }} failureThreshold: {{ web_readiness_failure_threshold }}