From 7d16e04f5ad0ef561c02a987529f3155e56c06fe Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 18 Nov 2023 14:26:16 +0100 Subject: [PATCH] Added resource requests and limits for argocd --- .../templates/helm/argocd-values-ha.yaml | 71 +++++++++++++++++-- .../templates/helm/argocd-values.yaml | 59 +++++++++++++++ 2 files changed, 124 insertions(+), 6 deletions(-) diff --git a/terraform/modules/k8s-cluster/templates/helm/argocd-values-ha.yaml b/terraform/modules/k8s-cluster/templates/helm/argocd-values-ha.yaml index 7b9fe70..c1259b4 100644 --- a/terraform/modules/k8s-cluster/templates/helm/argocd-values-ha.yaml +++ b/terraform/modules/k8s-cluster/templates/helm/argocd-values-ha.yaml @@ -1,14 +1,73 @@ -redis-ha: - enabled: true +global: + logging: + format: text + +applicationSet: + replicas: 2 + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi controller: replicas: 1 + resources: + limits: + cpu: 500m + memory: 512Mi + requests: + cpu: 250m + memory: 256Mi -server: - replicas: 2 +dex: + resources: + limits: + cpu: 50m + memory: 64Mi + requests: + cpu: 10m + memory: 32Mi + +notifications: + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi + +redis-ha: + enabled: true + +redis: + resources: + limits: + cpu: 200m + memory: 128Mi + requests: + cpu: 100m + memory: 64Mi repoServer: replicas: 2 + resources: + limits: + cpu: 100m + memory: 512Mi + requests: + cpu: 100m + memory: 256Mi -applicationSet: - replicas: 2 \ No newline at end of file +server: + replicas: 2 + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 50m + memory: 64Mi diff --git a/terraform/modules/k8s-cluster/templates/helm/argocd-values.yaml b/terraform/modules/k8s-cluster/templates/helm/argocd-values.yaml index e69de29..792e5c6 100644 --- a/terraform/modules/k8s-cluster/templates/helm/argocd-values.yaml +++ b/terraform/modules/k8s-cluster/templates/helm/argocd-values.yaml @@ -0,0 +1,59 @@ +global: + logging: + format: text +applicationSet: + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi +controller: + resources: + limits: + cpu: 500m + memory: 512Mi + requests: + cpu: 250m + memory: 256Mi +dex: + resources: + limits: + cpu: 50m + memory: 64Mi + requests: + cpu: 10m + memory: 32Mi +notifications: + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 100m + memory: 128Mi +redis: + resources: + limits: + cpu: 200m + memory: 128Mi + requests: + cpu: 100m + memory: 64Mi +repoServer: + resources: + limits: + cpu: 100m + memory: 512Mi + requests: + cpu: 100m + memory: 256Mi +server: + resources: + limits: + cpu: 100m + memory: 128Mi + requests: + cpu: 50m + memory: 64Mi \ No newline at end of file