mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
99 lines
1.7 KiB
YAML
99 lines
1.7 KiB
YAML
affinity: {}
|
|
|
|
annotations: {}
|
|
|
|
extraArgs:
|
|
- --collect.collection
|
|
- --collect.database
|
|
- --collect.indexusage
|
|
- --collect.topmetrics
|
|
- --collect.connpoolstats
|
|
|
|
fullnameOverride: ""
|
|
|
|
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: ssheehy/mongodb-exporter
|
|
tag: 0.10.0
|
|
|
|
imagePullSecrets: []
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: metrics
|
|
initialDelaySeconds: 10
|
|
|
|
# [mongodb[+srv]://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options]
|
|
mongodb:
|
|
uri: ""
|
|
|
|
# Name of an externally managed secret (in the same namespace) containing the connection uri as key `mongodb-uri`.
|
|
# If this is provided, the value mongodb.uri is ignored.
|
|
existingSecret:
|
|
name: ""
|
|
key: "mongodb-uri"
|
|
|
|
nameOverride: ""
|
|
|
|
nodeSelector: {}
|
|
|
|
podAnnotations: {}
|
|
# prometheus.io/scrape: "true"
|
|
# prometheus.io/port: "metrics"
|
|
|
|
port: "9216"
|
|
|
|
priorityClassName: ""
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: metrics
|
|
initialDelaySeconds: 10
|
|
|
|
replicas: 1
|
|
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 250m
|
|
# memory: 192Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
# Extra environment variables that will be passed into the exporter pod
|
|
env: {}
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop: ["all"]
|
|
readOnlyRootFilesystem: true
|
|
runAsGroup: 10000
|
|
runAsNonRoot: true
|
|
runAsUser: 10000
|
|
|
|
service:
|
|
labels: {}
|
|
annotations: {}
|
|
port: 9216
|
|
type: ClusterIP
|
|
|
|
serviceAccount:
|
|
create: true
|
|
# If create is true and name is not set, then a name is generated using the
|
|
# fullname template.
|
|
name:
|
|
|
|
serviceMonitor:
|
|
enabled: true
|
|
interval: 30s
|
|
scrapeTimeout: 10s
|
|
namespace:
|
|
additionalLabels: {}
|
|
targetLabels: []
|
|
metricRelabelings: []
|
|
|
|
tolerations: []
|