From 628a7e7ac9da9701644895f3f4eba4592d621928 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 15 Sep 2020 11:15:55 +0100 Subject: [PATCH] Introduce resources for at least the argocd controller --- charts/kubezero-argo-cd/Chart.yaml | 2 +- charts/kubezero-argo-cd/README.md | 5 ++++- charts/kubezero-argo-cd/values.yaml | 7 +++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/charts/kubezero-argo-cd/Chart.yaml b/charts/kubezero-argo-cd/Chart.yaml index 11b0e7dd..36aac26d 100644 --- a/charts/kubezero-argo-cd/Chart.yaml +++ b/charts/kubezero-argo-cd/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: KubeZero ArgoCD Helm chart to install ArgoCD itself and the KubeZero ArgoCD Application name: kubezero-argo-cd -version: 0.5.0 +version: 0.5.1 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: diff --git a/charts/kubezero-argo-cd/README.md b/charts/kubezero-argo-cd/README.md index b54cbf18..0c49f573 100644 --- a/charts/kubezero-argo-cd/README.md +++ b/charts/kubezero-argo-cd/README.md @@ -2,7 +2,7 @@ kubezero-argo-cd ================ KubeZero ArgoCD Helm chart to install ArgoCD itself and the KubeZero ArgoCD Application -Current chart version is `0.5.0` +Current chart version is `0.5.1` Source code can be found [here](https://kubezero.com) @@ -25,6 +25,9 @@ Source code can be found [here](https://kubezero.com) | argo-cd.controller.metrics.serviceMonitor.enabled | bool | `true` | | | argo-cd.controller.metrics.serviceMonitor.namespace | string | `"monitoring"` | | | argo-cd.controller.nodeSelector."node-role.kubernetes.io/master" | string | `""` | | +| argo-cd.controller.resources.limits.memory | string | `"512Mi"` | | +| argo-cd.controller.resources.requests.cpu | string | `"100m"` | | +| argo-cd.controller.resources.requests.memory | string | `"192Mi"` | | | argo-cd.controller.tolerations[0].effect | string | `"NoSchedule"` | | | argo-cd.controller.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | | | argo-cd.dex.enabled | bool | `false` | | diff --git a/charts/kubezero-argo-cd/values.yaml b/charts/kubezero-argo-cd/values.yaml index be0f3896..d990cc03 100644 --- a/charts/kubezero-argo-cd/values.yaml +++ b/charts/kubezero-argo-cd/values.yaml @@ -49,6 +49,13 @@ argo-cd: tolerations: - key: node-role.kubernetes.io/master effect: NoSchedule + resources: + limits: + # cpu: 500m + memory: 512Mi + requests: + cpu: 100m + memory: 192Mi repoServer: metrics: