fix(dispatcher): liveness probe must use the container port

Container port is 8080 so ... the probes must use the same port
This commit is contained in:
Philippe Caseiro 2024-02-12 11:46:07 +01:00
parent f1d621d4a9
commit 0dbd5dd551
1 changed files with 3 additions and 3 deletions

View File

@ -49,21 +49,21 @@ spec:
name: hydra-dispatcher-apps name: hydra-dispatcher-apps
resources: {} resources: {}
- image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2023.12.15-develop.903.b675347 - image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2023.12.15-develop.903.b675347
imagePullPolicy: Always imagePullPolicy: Always
name: hydra-dispatcher-nginx name: hydra-dispatcher-nginx
args: ["/usr/sbin/nginx"] args: ["/usr/sbin/nginx"]
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /health path: /health
port: 80 port: 8080
initialDelaySeconds: 5 initialDelaySeconds: 5
timeoutSeconds: 5 timeoutSeconds: 5
periodSeconds: 10 periodSeconds: 10
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /health path: /health
port: 80 port: 8080
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 5 timeoutSeconds: 5
periodSeconds: 15 periodSeconds: 15