|
|
|
@ -8,46 +8,6 @@ metadata:
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
template:
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
|
|
|
|
- args:
|
|
|
|
|
|
|
|
- --es-cluster=https://prodwork01-elastic-stack-elastic-01:9200,https://prodwork01-elastic-stack-elastic-02:9200,https://prodwork01-elastic-stack-elastic-03:9200
|
|
|
|
|
|
|
|
- --port=9206
|
|
|
|
|
|
|
|
- --config-file=/mnt/config/exporter.cfg
|
|
|
|
|
|
|
|
- --ca-certs=/mnt/certs/es_ca.crt
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
- name: ES_EXPORTER_BASIC_USER
|
|
|
|
|
|
|
|
valueFrom:
|
|
|
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
|
|
|
name: prometheus-es-exporter-es-creds
|
|
|
|
|
|
|
|
key: username
|
|
|
|
|
|
|
|
- name: ES_EXPORTER_BASIC_PASSWORD
|
|
|
|
|
|
|
|
valueFrom:
|
|
|
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
|
|
|
name: prometheus-es-exporter-es-creds
|
|
|
|
|
|
|
|
key: password
|
|
|
|
|
|
|
|
image: braedon/prometheus-es-exporter:0.14.0
|
|
|
|
|
|
|
|
livenessProbe:
|
|
|
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
|
|
|
tcpSocket:
|
|
|
|
|
|
|
|
port: prometheus
|
|
|
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
|
|
|
name: prometheus-es-exporter
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
|
|
|
- containerPort: 9206
|
|
|
|
|
|
|
|
name: prometheus
|
|
|
|
|
|
|
|
protocol: TCP
|
|
|
|
|
|
|
|
readinessProbe:
|
|
|
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
|
|
|
successThreshold: 1
|
|
|
|
|
|
|
|
tcpSocket:
|
|
|
|
|
|
|
|
port: prometheus
|
|
|
|
|
|
|
|
timeoutSeconds: 1
|
|
|
|
|
|
|
|
volumeMounts:
|
|
|
|
|
|
|
|
- mountPath: /mnt/config
|
|
|
|
|
|
|
|
name: config-volume
|
|
|
|
|
|
|
|
hostAliases:
|
|
|
|
hostAliases:
|
|
|
|
- hostnames:
|
|
|
|
- hostnames:
|
|
|
|
- prodwork01-elastic-stack-elastic-01
|
|
|
|
- prodwork01-elastic-stack-elastic-01
|
|
|
|
|