From 7ece1eaacedc0539833038880898463d336eeb1f Mon Sep 17 00:00:00 2001 From: vvkolesnikov <51197215+vvkolesnikov@users.noreply.github.com> Date: Fri, 7 May 2021 15:47:52 +0300 Subject: [PATCH 1/2] Update values.yaml --- helm/values.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helm/values.yaml b/helm/values.yaml index 1b0b42d..a8c8240 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -306,6 +306,13 @@ securityContext: {} # Enable Aerospike Prometheus Exporter ONLY - sidecar - aerospike prometheus exporter. # If enableAerospikeMonitoring is set to true, no need to set enableAerospikePrometheusExporter to true. enableAerospikePrometheusExporter: false +AerospikePrometheusExporterResources: {} +# limits: +# cpu: 1 +# memory: 1Gi +# requests: +# cpu: 1 +# memory: 1Gi # Enable Aerospike Monitoring - sidecar prometheus exporter, Prometheus, Grafana, Alertmanager stack enableAerospikeMonitoring: false From df81f86da852b8f4300074d7c4b4c3435aaca97b Mon Sep 17 00:00:00 2001 From: vvkolesnikov <51197215+vvkolesnikov@users.noreply.github.com> Date: Fri, 7 May 2021 15:50:29 +0300 Subject: [PATCH 2/2] Update statefulset.yaml --- helm/templates/statefulset.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/templates/statefulset.yaml b/helm/templates/statefulset.yaml index a765d40..cacf0e1 100644 --- a/helm/templates/statefulset.yaml +++ b/helm/templates/statefulset.yaml @@ -205,6 +205,8 @@ spec: ports: - containerPort: {{ .Values.exporter.agentBindPort | default 9145 }} name: exporter + resources: +{{ toYaml .Values.AerospikePrometheusExporterResources | indent 10 }} volumeMounts: - name: apeconfdir mountPath: /etc/aerospike-prometheus-exporter