From 40c31662fec3fa9b8b4afb5a1045d0c7358d0eec Mon Sep 17 00:00:00 2001 From: Dario Del Piano Date: Fri, 19 Jul 2024 17:08:04 +0200 Subject: [PATCH] enabling probes --- k8s/composer.yaml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/k8s/composer.yaml b/k8s/composer.yaml index d785b835..60faa6b2 100644 --- a/k8s/composer.yaml +++ b/k8s/composer.yaml @@ -35,24 +35,24 @@ spec: value: "{{DEBUG}}" ports: - containerPort: 8000 - # livenessProbe: - # failureThreshold: 3 - # httpGet: - # path: /admin/login/ - # port: 8000 - # scheme: HTTP - # initialDelaySeconds: 45 - # periodSeconds: 30 - # timeoutSeconds: 2 - # readinessProbe: - # failureThreshold: 3 - # httpGet: - # path: /admin/login/ - # port: 8000 - # scheme: HTTP - # initialDelaySeconds: 15 - # periodSeconds: 30 - # timeoutSeconds: 2 + livenessProbe: + failureThreshold: 3 + httpGet: + path: /admin/login/ + port: 8000 + scheme: HTTP + initialDelaySeconds: 300 + periodSeconds: 30 + timeoutSeconds: 2 + readinessProbe: + failureThreshold: 3 + httpGet: + path: /admin/login/ + port: 8000 + scheme: HTTP + initialDelaySeconds: 300 + periodSeconds: 30 + timeoutSeconds: 2 resources: limits: cpu: 1500m