From c9e5e5b651bcbf2848d9825868ebe4c23c2d4315 Mon Sep 17 00:00:00 2001 From: Sirius Devops Date: Mon, 25 May 2026 04:57:59 +0000 Subject: [PATCH] fix(trading-platform): add startupProbe to data-service, execute-service, and dashboard in customer1 - Grace period (failureThreshold: 30) for init (model load, DB, Redis). - Resolves 0/1 Ready pods after rollout. - Matches hermes-projects updates. - Related to Kanban t_b6693eac --- trading-platform/deploy/k8s/base/dashboard-deployment.yaml | 7 +++++++ .../deploy/k8s/base/data-service-deployment.yaml | 7 +++++++ .../deploy/k8s/base/execute-service-deployment.yaml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/trading-platform/deploy/k8s/base/dashboard-deployment.yaml b/trading-platform/deploy/k8s/base/dashboard-deployment.yaml index 9486160..c4e6b3d 100644 --- a/trading-platform/deploy/k8s/base/dashboard-deployment.yaml +++ b/trading-platform/deploy/k8s/base/dashboard-deployment.yaml @@ -41,6 +41,13 @@ spec: requests: cpu: "250m" memory: 256Mi + startupProbe: + httpGet: + path: /health + port: 3000 + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 30 livenessProbe: httpGet: path: /health diff --git a/trading-platform/deploy/k8s/base/data-service-deployment.yaml b/trading-platform/deploy/k8s/base/data-service-deployment.yaml index 7eb668a..5d45e5b 100644 --- a/trading-platform/deploy/k8s/base/data-service-deployment.yaml +++ b/trading-platform/deploy/k8s/base/data-service-deployment.yaml @@ -41,6 +41,13 @@ spec: requests: cpu: "500m" memory: 512Mi + startupProbe: + httpGet: + path: /health + port: 8001 + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 30 livenessProbe: httpGet: path: /health diff --git a/trading-platform/deploy/k8s/base/execute-service-deployment.yaml b/trading-platform/deploy/k8s/base/execute-service-deployment.yaml index 1a6eac3..bc11a86 100644 --- a/trading-platform/deploy/k8s/base/execute-service-deployment.yaml +++ b/trading-platform/deploy/k8s/base/execute-service-deployment.yaml @@ -57,6 +57,13 @@ spec: requests: cpu: "250m" memory: 256Mi + startupProbe: + httpGet: + path: /health + port: 8000 + initialDelaySeconds: 10 + periodSeconds: 10 + failureThreshold: 30 livenessProbe: httpGet: path: /health