From 8506f3cebfac756047efbb29b2d8fcc03a1c1d09 Mon Sep 17 00:00:00 2001 From: Mathias Knoop Date: Tue, 20 Jun 2023 15:59:32 +0200 Subject: [PATCH] fix: adjust values for timeouts and resources for 'liveness' and 'readiness' actuators to mitigate restarts to to cpu-throttling and respective memory peaks which would possibly yield a restart, too. --- .../templates/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/managed-identity-wallet/templates/deployment.yaml b/charts/managed-identity-wallet/templates/deployment.yaml index 4f17ee534..3b18b26cf 100644 --- a/charts/managed-identity-wallet/templates/deployment.yaml +++ b/charts/managed-identity-wallet/templates/deployment.yaml @@ -59,8 +59,8 @@ spec: scheme: HTTP periodSeconds: 5 successThreshold: 1 - timeoutSeconds: 1 - initialDelaySeconds: 90 + timeoutSeconds: 5 + initialDelaySeconds: 30 readinessProbe: failureThreshold: 3 httpGet: @@ -69,12 +69,12 @@ spec: scheme: HTTP periodSeconds: 5 successThreshold: 1 - timeoutSeconds: 1 - initialDelaySeconds: 90 + timeoutSeconds: 5 + initialDelaySeconds: 30 resources: requests: - cpu: "{{ .Values.resources.cpu }}m" - memory: "{{ .Values.resources.memory }}Mi" + cpu: "4" + memory: "1Gi" limits: cpu: "{{ mul .Values.resources.cpu 2 }}m" memory: "{{ .Values.resources.memory }}Mi"