mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
probe updates
This commit is contained in:
parent
c31fc402d8
commit
2393194e97
@ -13,7 +13,7 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: server
|
app: server
|
||||||
version: "2"
|
version: "1"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: server
|
- name: server
|
||||||
@ -28,6 +28,20 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: app
|
- name: app
|
||||||
mountPath: "/app"
|
mountPath: "/app"
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 5000
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
periodSeconds: 3
|
||||||
|
failureThreshold: 3
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 5000
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
periodSeconds: 4
|
||||||
|
failureThreshold: 8
|
||||||
volumes:
|
volumes:
|
||||||
- name: app
|
- name: app
|
||||||
configMap:
|
configMap:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user