Skip to content

Commit

Permalink
fix: adjust values for timeouts and resources for 'liveness' and 'rea…
Browse files Browse the repository at this point in the history
…diness' actuators to mitigate restarts to to cpu-throttling and respective memory peaks which would possibly yield a restart, too.
  • Loading branch information
mknoopvw committed Jun 20, 2023
1 parent 7e2ab46 commit 7c0c7a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions charts/managed-identity-wallet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ spec:
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
initialDelaySeconds: 90
timeoutSeconds: 5
initialDelaySeconds: 30
readinessProbe:
failureThreshold: 3
httpGet:
Expand All @@ -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"
Expand Down

0 comments on commit 7c0c7a6

Please sign in to comment.