Browse Source

Fix startupProbe port using http instead of 9000, and adapt initialDelay to avoid longer start when the instance starts quickly

master
LecygneNoir 2 years ago
parent
commit
d29cbfb320
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      templates/deployment.yaml

+ 4
- 4
templates/deployment.yaml View File

@ -103,8 +103,8 @@ spec:
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 300
port: 9000
initialDelaySeconds: 60
failureThreshold: 3000
periodSeconds: 10
livenessProbe:
@ -134,8 +134,8 @@ spec:
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 300
port: 9000
initialDelaySeconds: 60
failureThreshold: 3000
periodSeconds: 10
livenessProbe:

Loading…
Cancel
Save