Adds LivenessProbe
This commit is contained in:
@@ -25,6 +25,18 @@ spec:
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "75m"
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- touch
|
||||
- /tmp/healthy
|
||||
initialDelaySeconds: 30
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- touch
|
||||
- /tmp/healthy
|
||||
initialDelaySeconds: 30
|
||||
env:
|
||||
- name: ALLOWED_ORIGINS
|
||||
valueFrom:
|
||||
|
||||
@@ -31,6 +31,11 @@ spec:
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
env:
|
||||
- name: ALLOWED_ORIGINS
|
||||
valueFrom:
|
||||
|
||||
Reference in New Issue
Block a user