From ecbdaae2bad85a6d62bf93cb3f4ad95c1beed93c Mon Sep 17 00:00:00 2001 From: cahe Date: Thu, 14 Mar 2024 15:30:36 -0300 Subject: [PATCH] fix api response time --- kustomize/mycrd.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index 623b038..5b5c9e7 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -48,6 +48,11 @@ spec: httpGet: path: / port: 8000 + livenessProbe: + failureThreshold: 10 + httpGet: + path: / + port: 8000 image: python:3 ports: - containerPort: 8000