From a3bb9b3cd9946381c64dbd8152370be130b186cd Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Mon, 3 Jul 2023 23:57:17 +1000 Subject: [PATCH] some structure --- .../01-deployments/flask-htmx-master.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/manifests/01-deployments/flask-htmx-master.yaml b/manifests/01-deployments/flask-htmx-master.yaml index 668ed42..4e4d429 100644 --- a/manifests/01-deployments/flask-htmx-master.yaml +++ b/manifests/01-deployments/flask-htmx-master.yaml @@ -18,3 +18,21 @@ spec: image: flask-htmx-board1:master-of-slaves ports: - 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