Add liveness and readiness probes

parent a3fa9989
......@@ -54,6 +54,18 @@ spec:
ports:
- name: web
containerPort: 5000
livenessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 15
timeoutSeconds: 15
readinessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 5
timeoutSeconds: 3
---
apiVersion: v1
kind: Service
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment