From 2e8e8ee3ebb4762f476a79aa317f7c785628a00f Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sun, 26 Jul 2026 17:16:03 +0000 Subject: [PATCH] Fix Pangolin health probes: route to Web UI port 3002 instead of Internal API port 3001 Pangolin runs three servers: - Dashboard API on port 3000 - Internal API on port 3001 - Web UI on port 3002 The current configuration was routing traffic to port 3001 (Internal API), which returns 404 for the root path, causing health probe failures and restart loops. Changes: - Update containerPort from 3001 to 3002 - Update livenessProbe to check port 3002 - Update readinessProbe to check port 3002 - Update Service to expose port 3002 - Update Ingress to route to port 3002 This allows health probes to pass (port 3002 returns 200 for /) and routes web traffic to the correct Web UI server. Co-Authored-By: Paperclip --- apps/pangolin/pangolin-deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/pangolin/pangolin-deployment.yaml b/apps/pangolin/pangolin-deployment.yaml index 41b18a1..b9143f1 100644 --- a/apps/pangolin/pangolin-deployment.yaml +++ b/apps/pangolin/pangolin-deployment.yaml @@ -37,7 +37,7 @@ spec: - name: pangolin image: fosrl/pangolin:1.21.0 ports: - - containerPort: 3001 + - containerPort: 3002 name: http env: - name: PANGOLIN_URL @@ -85,7 +85,7 @@ spec: livenessProbe: httpGet: path: / - port: 3001 + port: 3002 initialDelaySeconds: 60 periodSeconds: 10 timeoutSeconds: 5 @@ -93,7 +93,7 @@ spec: readinessProbe: httpGet: path: / - port: 3001 + port: 3002 initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: 3 @@ -117,8 +117,8 @@ spec: selector: app: pangolin ports: - - port: 3001 - targetPort: 3001 + - port: 3002 + targetPort: 3002 protocol: TCP --- # Pangolin Ingress @@ -146,4 +146,4 @@ spec: service: name: pangolin port: - number: 3001 + number: 3002