This commit is contained in:
parent
58f07a3c31
commit
a3bb9b3cd9
@ -18,3 +18,21 @@ spec:
|
|||||||
image: flask-htmx-board1:master-of-slaves
|
image: flask-htmx-board1:master-of-slaves
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
|
|
||||||
|
#### таймауты и прочее взяты с потолка
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /liveness
|
||||||
|
port: 5000
|
||||||
|
initialDelaySeconds: 2
|
||||||
|
timeoutSeconds: 2
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 2
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /readiness
|
||||||
|
port: 5000
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
timeoutSeconds: 3
|
||||||
|
periodSeconds: 10
|
||||||
|
failureThreshold: 3
|
||||||
|
Loading…
Reference in New Issue
Block a user