From df75f75e06cb98088a343b5fbf7b47d59692b427 Mon Sep 17 00:00:00 2001 From: Vijit Singhal <56007827+vsinghal13@users.noreply.github.com> Date: Fri, 24 Apr 2020 10:20:09 -0700 Subject: [PATCH 1/2] Update values.yaml Expose resource config for prometheus node-exporter and kube state metrics. --- deploy/helm/sumologic/values.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/deploy/helm/sumologic/values.yaml b/deploy/helm/sumologic/values.yaml index cf9a7eaf4b..1974bbb183 100644 --- a/deploy/helm/sumologic/values.yaml +++ b/deploy/helm/sumologic/values.yaml @@ -514,10 +514,34 @@ prometheus-operator: prometheusOperator: ## Resource limits for prometheus operator resources: {} + # limits: + # cpu: 200m + # memory: 200Mi + # requests: + # cpu: 100m + # memory: 100Mi admissionWebhooks: enabled: false tlsProxy: enabled: false + ## Resource limits for kube-state-metrics + kube-state-metrics: + resources: {} + # limits: + # cpu: 200m + # memory: 200Mi + # requests: + # cpu: 200m + # memory: 200Mi + ## Resource limits for prometheus node exporter + prometheus-node-exporter: + resources: {} + # limits: + # cpu: 200m + # memory: 50Mi + # requests: + # cpu: 100m + # memory: 30Mi prometheus: additionalServiceMonitors: - name: collection-sumologic From 1cf60d653ce1705f546d09d08d874d98db797c5c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 24 Apr 2020 21:24:29 +0000 Subject: [PATCH 2/2] Generate new overrides yaml/libsonnet file(s). --- deploy/helm/prometheus-overrides.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/deploy/helm/prometheus-overrides.yaml b/deploy/helm/prometheus-overrides.yaml index 2729b5d043..bac1418b07 100644 --- a/deploy/helm/prometheus-overrides.yaml +++ b/deploy/helm/prometheus-overrides.yaml @@ -13,10 +13,34 @@ grafana: prometheusOperator: ## Resource limits for prometheus operator resources: {} + # limits: + # cpu: 200m + # memory: 200Mi + # requests: + # cpu: 100m + # memory: 100Mi admissionWebhooks: enabled: false tlsProxy: enabled: false + ## Resource limits for kube-state-metrics + kube-state-metrics: + resources: {} + # limits: + # cpu: 200m + # memory: 200Mi + # requests: + # cpu: 200m + # memory: 200Mi + ## Resource limits for prometheus node exporter + prometheus-node-exporter: + resources: {} + # limits: + # cpu: 200m + # memory: 50Mi + # requests: + # cpu: 100m + # memory: 30Mi prometheus: additionalServiceMonitors: - name: collection-sumologic