diff --git a/k8s/moj-servis/deployment.yaml b/k8s/moj-servis/deployment.yaml index d670b89..ce8d9fe 100644 --- a/k8s/moj-servis/deployment.yaml +++ b/k8s/moj-servis/deployment.yaml @@ -29,11 +29,12 @@ spec: httpGet: path: /health port: 8000 - initialDelaySeconds: 10 - periodSeconds: 15 + initialDelaySeconds: 15 + periodSeconds: 20 + failureThreshold: 5 # dajemo 5 sansi prije resetovanja readinessProbe: httpGet: path: /health port: 8000 - initialDelaySeconds: 5 - periodSeconds: 10 \ No newline at end of file + initialDelaySeconds: 10 + periodSeconds: 3 \ No newline at end of file