Adds LivenessProbe

This commit is contained in:
2024-09-04 18:32:59 -03:00
parent 92542006d3
commit 807279e409
5 changed files with 32 additions and 20 deletions

View File

@@ -28,6 +28,16 @@ spec:
cpu: "75m"
ports:
- containerPort: 5000
readinessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 10
livenessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 10
env:
- name: PORT
value: "5000"