Fix pangolin-controller probe ports to match metrics server

Update liveness and readiness probe ports from 8080 to 9090 to match the
controller's METRICS_ADDR configuration. The controller is configured to
serve metrics on port 9090, but the probes were checking port 8080,
causing pods to remain in NotReady state despite the controller
functioning correctly.

Also update containerPort to 9090 for consistency.

Related: DEV-437

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
CTO Agent 2026-08-02 10:17:46 +00:00
parent 9b1af12d1b
commit 055bb63438

View file

@ -28,7 +28,7 @@ spec:
name: pangolin-controller-config name: pangolin-controller-config
ports: ports:
- name: metrics - name: metrics
containerPort: 8080 containerPort: 9090
protocol: TCP protocol: TCP
resources: resources:
requests: requests:
@ -40,7 +40,7 @@ spec:
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: 8080 port: 9090
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 20 periodSeconds: 20
timeoutSeconds: 5 timeoutSeconds: 5
@ -48,7 +48,7 @@ spec:
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /readyz path: /readyz
port: 8080 port: 9090
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5