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: