From 3186f1d56902fbb35c00c194ee6c115d42e34998 Mon Sep 17 00:00:00 2001 From: cahe Date: Thu, 14 Mar 2024 15:33:45 -0300 Subject: [PATCH] fix api response time --- kustomize/mycrd.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index 5b5c9e7..301429a 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -44,11 +44,15 @@ spec: - '/bin/python3' - '/app/app.py' readinessProbe: + initialDelaySeconds: 10 + timeoutSeconds: 10 failureThreshold: 10 httpGet: path: / port: 8000 livenessProbe: + initialDelaySeconds: 10 + timeoutSeconds: 10 failureThreshold: 10 httpGet: path: /