Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add limit/request for AS exporter (Helm chart) #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down