Add readiness and liveliness probes

This commit is contained in:
Stéphane Bidoul 2021-11-20 15:34:21 +01:00
parent 22575f0e35
commit 6b53a2407f
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -36,6 +36,16 @@ spec:
containerPort: 8069
- name: longpolling
containerPort: 8072
readinessProbe:
tcpSocket:
port: 8069
initialDelaySeconds: 2
periodSeconds: 2
livenessProbe:
tcpSocket:
port: web
initialDelaySeconds: 30
periodSeconds: 30
args: ["bash", "/runboat/runboat-start.sh"]
resources:
limits: