Add readiness and liveliness probes
This commit is contained in:
parent
22575f0e35
commit
6b53a2407f
1 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,16 @@ spec:
|
||||||
containerPort: 8069
|
containerPort: 8069
|
||||||
- name: longpolling
|
- name: longpolling
|
||||||
containerPort: 8072
|
containerPort: 8072
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 8069
|
||||||
|
initialDelaySeconds: 2
|
||||||
|
periodSeconds: 2
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: web
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 30
|
||||||
args: ["bash", "/runboat/runboat-start.sh"]
|
args: ["bash", "/runboat/runboat-start.sh"]
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue