fix liveness probe
This commit is contained in:
parent
86a3ae58c5
commit
246047d336
1 changed files with 12 additions and 0 deletions
|
|
@ -26,12 +26,24 @@ spec:
|
|||
limits:
|
||||
cpu: 50m
|
||||
memory: 150Mi
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 30
|
||||
successThreshold: 1
|
||||
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: / # or /index.html if needed
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 30
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue