From 605e5ef181f8e6bd5b4915170fa5e4ab7f23d8ca Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Wed, 24 Jul 2024 12:01:22 +0200 Subject: [PATCH] fix: increase cpu and mem limits for Argo CD and cloudflared This will hopefully alleviate issues with syncing and routing apparently hanging sometimes --- k8s/infra/controllers/argocd/values.yaml | 18 ++++++------------ k8s/infra/network/cloudflared/daemon-set.yaml | 7 +++---- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/k8s/infra/controllers/argocd/values.yaml b/k8s/infra/controllers/argocd/values.yaml index 4461451..1add509 100644 --- a/k8s/infra/controllers/argocd/values.yaml +++ b/k8s/infra/controllers/argocd/values.yaml @@ -23,8 +23,7 @@ controller: cpu: 100m memory: 700Mi limits: - cpu: 4000m - memory: 2Gi + memory: 4Gi dex: resources: @@ -32,8 +31,7 @@ dex: cpu: 10m memory: 32Mi limits: - cpu: 1000m - memory: 64Mi + memory: 128Mi redis: resources: @@ -41,8 +39,7 @@ redis: cpu: 100m memory: 64Mi limits: - cpu: 2000m - memory: 128Mi + memory: 1Gi server: resources: @@ -50,8 +47,7 @@ server: cpu: 50m memory: 64Mi limits: - cpu: 4000m - memory: 128Mi + memory: 1Gi repoServer: containerSecurityContext: @@ -67,8 +63,7 @@ repoServer: cpu: 100m memory: 256Mi limits: - cpu: 4000m - memory: 512Mi + memory: 2Gi extraContainers: - name: kustomize-build-with-helm command: @@ -98,8 +93,7 @@ applicationSet: cpu: 50m memory: 64Mi limits: - cpu: 1000m - memory: 256Mi + memory: 1Gi notifications: enabled: false diff --git a/k8s/infra/network/cloudflared/daemon-set.yaml b/k8s/infra/network/cloudflared/daemon-set.yaml index 45461fc..c107d95 100644 --- a/k8s/infra/network/cloudflared/daemon-set.yaml +++ b/k8s/infra/network/cloudflared/daemon-set.yaml @@ -32,11 +32,10 @@ spec: periodSeconds: 10 resources: requests: - cpu: 50m - memory: 32Mi + cpu: 100m + memory: 64Mi limits: - cpu: 1000m - memory: 128Mi + memory: 512Mi volumeMounts: - name: cloudflared-config mountPath: /etc/cloudflared/config/config.yaml