From 74c6f73a632f4db401e34d2588cda8cc7408b4fb Mon Sep 17 00:00:00 2001 From: Petrraa Date: Sat, 2 May 2026 17:45:49 +0200 Subject: [PATCH] increase replicas and resources for load test --- k8s/moj-servis/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/moj-servis/deployment.yaml b/k8s/moj-servis/deployment.yaml index 6528e38..97a3108 100644 --- a/k8s/moj-servis/deployment.yaml +++ b/k8s/moj-servis/deployment.yaml @@ -24,7 +24,7 @@ spec: httpGet: path: /health port: 8000 - initialDelaySeconds: 15 # čekaj 15s nakon starta + initialDelaySeconds: 10 # čekaj 10s nakon starta periodSeconds: 15 # provjeri svakih 15s timeoutSeconds: 3 # timeout odgovora failureThreshold: 3 # 3 fail-a => restart @@ -35,9 +35,9 @@ spec: path: /health port: 8000 initialDelaySeconds: 5 - periodSeconds: 5 - timeoutSeconds: 3 - failureThreshold: 3 + periodSeconds: 10 + timeoutSeconds: 2 + failureThreshold: 2 envFrom: # <-- NOVO - configMapRef: