From d002a7896b64bf2015e031b1534bad58dedb3f4f Mon Sep 17 00:00:00 2001 From: Sirius Devops Date: Mon, 25 May 2026 05:55:21 +0000 Subject: [PATCH] fix(dashboard): align port to 3000 and probes to root path - containerPort: 3000 (matches Next.js default + Dockerfile ENV PORT=3000) - All probes (startup/liveness/readiness): path (Next.js serves root when ready) - Service targetPort: 3000 Fixes 'not ready' and 'can't reach it' (previous mismatch with 8000 + /api/health which didn't exist). Live manifests updated (source of truth). --- .../trading-platform/dashboard/deployment.yaml | 18 +++++++++--------- .../trading-platform/dashboard/service.yaml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/base/customer1/trading-platform/dashboard/deployment.yaml b/apps/base/customer1/trading-platform/dashboard/deployment.yaml index 4a5b8b3..26bb7b6 100644 --- a/apps/base/customer1/trading-platform/dashboard/deployment.yaml +++ b/apps/base/customer1/trading-platform/dashboard/deployment.yaml @@ -29,7 +29,7 @@ spec: image: ghcr.io/sirius0xdev/trading-dashboard:latest imagePullPolicy: Always ports: - - containerPort: 8000 + - containerPort: 3000 name: http resources: requests: @@ -60,20 +60,20 @@ spec: key: password startupProbe: httpGet: - path: /api/health - port: 8000 - initialDelaySeconds: 15 + path: / + port: 3000 + initialDelaySeconds: 5 periodSeconds: 10 failureThreshold: 30 livenessProbe: httpGet: - path: /api/health - port: 8000 - initialDelaySeconds: 30 + path: / + port: 3000 + initialDelaySeconds: 15 periodSeconds: 30 readinessProbe: httpGet: - path: /api/health - port: 8000 + path: / + port: 3000 initialDelaySeconds: 5 periodSeconds: 10 diff --git a/apps/base/customer1/trading-platform/dashboard/service.yaml b/apps/base/customer1/trading-platform/dashboard/service.yaml index 73bca2f..4600af4 100644 --- a/apps/base/customer1/trading-platform/dashboard/service.yaml +++ b/apps/base/customer1/trading-platform/dashboard/service.yaml @@ -13,6 +13,6 @@ spec: app: trading-dashboard ports: - port: 80 - targetPort: 8000 + targetPort: 3000 name: http type: ClusterIP