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:
parent
9b1af12d1b
commit
055bb63438
1 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ spec:
|
|||
name: pangolin-controller-config
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 8080
|
||||
containerPort: 9090
|
||||
protocol: TCP
|
||||
resources:
|
||||
requests:
|
||||
|
|
@ -40,7 +40,7 @@ spec:
|
|||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
port: 9090
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 20
|
||||
timeoutSeconds: 5
|
||||
|
|
@ -48,7 +48,7 @@ spec:
|
|||
readinessProbe:
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: 8080
|
||||
port: 9090
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue