From 27c1be4085fbfbb4ac5626b851238de0f0b797de Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 22 Mar 2021 11:41:26 +0100 Subject: [PATCH] Add more resources to metrics --- charts/kubezero-metrics/Chart.yaml | 2 +- charts/kubezero-metrics/values.yaml | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/charts/kubezero-metrics/Chart.yaml b/charts/kubezero-metrics/Chart.yaml index b7f3ae8e..0428ef36 100644 --- a/charts/kubezero-metrics/Chart.yaml +++ b/charts/kubezero-metrics/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezero-metrics description: KubeZero Umbrella Chart for prometheus-operator type: application -version: 0.3.3 +version: 0.3.4 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: diff --git a/charts/kubezero-metrics/values.yaml b/charts/kubezero-metrics/values.yaml index 119a0d9b..ffb5945b 100644 --- a/charts/kubezero-metrics/values.yaml +++ b/charts/kubezero-metrics/values.yaml @@ -54,6 +54,12 @@ kube-prometheus-stack: effect: NoSchedule nodeSelector: node-role.kubernetes.io/master: "" + resources: + requests: + cpu: 20m + memory: 32Mi + limits: + memory: 64Mi namespaces: releaseNamespace: true @@ -79,6 +85,10 @@ kube-prometheus-stack: targetLabel: node replacement: $1 action: replace + resources: + requests: + cpu: 20m + memory: 16Mi prometheus: enabled: true @@ -91,10 +101,10 @@ kube-prometheus-stack: resources: requests: - memory: "1Gi" - cpu: "500m" + memory: 512Mi + cpu: 500m limits: - memory: "3Gi" + memory: 3Gi # cpu: "1000m" storageSpec: