Better checks

This commit is contained in:
Jim Nicholson 2021-12-21 16:03:39 -08:00
parent 2b7126de83
commit 94f48922ad

View File

@ -37,18 +37,19 @@ spec:
cpu: 100m cpu: 100m
memory: 100Mi memory: 100Mi
livenessProbe: livenessProbe:
tcpSocket: exec:
port: 3001 command:
initialDelaySeconds: 5 - node
timeoutSeconds: 5 - extra/healthcheck.js
initialDelaySeconds: 180
timeoutSeconds: 30
successThreshold: 1 successThreshold: 1
failureThreshold: 3 periodSeconds: 60
periodSeconds: 10
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: 3001 port: 3001
initialDelaySeconds: 5 initialDelaySeconds: 180
timeoutSeconds: 2 timeoutSeconds: 2
successThreshold: 1 successThreshold: 1
failureThreshold: 3 failureThreshold: 3