mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-04 16:56:56 +00:00
probe updates
This commit is contained in:
parent
c31fc402d8
commit
2393194e97
@ -13,7 +13,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: server
|
||||
version: "2"
|
||||
version: "1"
|
||||
spec:
|
||||
containers:
|
||||
- name: server
|
||||
@ -28,6 +28,20 @@ spec:
|
||||
volumeMounts:
|
||||
- name: 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:
|
||||
- name: app
|
||||
configMap:
|
||||
|
Loading…
x
Reference in New Issue
Block a user