diff --git a/k8s/moj-servis/deployment.yaml b/k8s/moj-servis/deployment.yaml index bbc5e95..b52d8ff 100644 --- a/k8s/moj-servis/deployment.yaml +++ b/k8s/moj-servis/deployment.yaml @@ -4,7 +4,7 @@ metadata: name: moj-servis namespace: student-vucicj spec: - replicas: 1 + replicas: 3 selector: matchLabels: app: moj-servis @@ -35,16 +35,16 @@ spec: resources: requests: memory: "64Mi" - cpu: "50m" + cpu: "200m" limits: memory: "128Mi" - cpu: "200m" + cpu: "800m" livenessProbe: httpGet: path: /health port: 8000 - initialDelaySeconds: 10 + initialDelaySeconds: 20 periodSeconds: 15 timeoutSeconds: 3 failureThreshold: 3 @@ -53,7 +53,7 @@ spec: httpGet: path: /health port: 8000 - initialDelaySeconds: 5 - periodSeconds: 10 + initialDelaySeconds: 20 + periodSeconds: 15 timeoutSeconds: 2 failureThreshold: 2 \ No newline at end of file