DEV-490: refactor kustomize objects - bugfix

main
friedrich goerz 4 years ago
parent ada6bd682e
commit cf7aee598f

@ -14,3 +14,6 @@ configMapGenerator:
- name: prometheus-es-exporter-escluster - name: prometheus-es-exporter-escluster
literals: literals:
- es_cluster=https://dev-elastic-stack-elastic-01:9200,https://dev-elastic-stack-elastic-02:9200,https://dev-elastic-stack-elastic-03:9200 - es_cluster=https://dev-elastic-stack-elastic-01:9200,https://dev-elastic-stack-elastic-02:9200,https://dev-elastic-stack-elastic-03:9200
patchesStrategicMerge:
- patches.yaml

@ -8,48 +8,6 @@ metadata:
spec: spec:
template: template:
spec: spec:
containers:
- args:
- --es-cluster=https://dev-elastic-stack-elastic-01:9200,https://dev-elastic-stack-elastic-02:9200,https://dev-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
- mountPath: /mnt/certs
name: cert-volume
hostAliases: hostAliases:
- hostnames: - hostnames:
- dev-elastic-stack-elastic-01 - dev-elastic-stack-elastic-01

@ -14,3 +14,6 @@ configMapGenerator:
- name: prometheus-es-exporter-escluster - name: prometheus-es-exporter-escluster
literals: literals:
- es_cluster=https://prodnso-elastic-stack-elastic-01:9200,https://prodnso-elastic-stack-elastic-02:9200,https://prodnso-elastic-stack-elastic-03:9200 - es_cluster=https://prodnso-elastic-stack-elastic-01:9200,https://prodnso-elastic-stack-elastic-02:9200,https://prodnso-elastic-stack-elastic-03:9200
patchesStrategicMerge:
- patches.yaml

@ -8,46 +8,6 @@ metadata:
spec: spec:
template: template:
spec: spec:
containers:
- args:
- --es-cluster=https://prodnso-elastic-stack-elastic-01:9200,https://prodnso-elastic-stack-elastic-02:9200,https://prodnso-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:
- prodnso-elastic-stack-elastic-01 - prodnso-elastic-stack-elastic-01

@ -14,3 +14,6 @@ configMapGenerator:
- name: prometheus-es-exporter-escluster - name: prometheus-es-exporter-escluster
literals: literals:
- es_cluster=https://prodnso-elastic-stack-elastic-01:9200,https://prodnso-elastic-stack-elastic-02:9200,https://prodnso-elastic-stack-elastic-03:9200 - es_cluster=https://prodnso-elastic-stack-elastic-01:9200,https://prodnso-elastic-stack-elastic-02:9200,https://prodnso-elastic-stack-elastic-03:9200
patchesStrategicMerge:
- patches.yaml

@ -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

@ -14,3 +14,6 @@ configMapGenerator:
- name: prometheus-es-exporter-escluster - name: prometheus-es-exporter-escluster
literals: literals:
- es_cluster=https://qa-elastic-stack-elastic-01:9200,https://qa-elastic-stack-elastic-02:9200,https://qa-elastic-stack-elastic-03:9200 - es_cluster=https://qa-elastic-stack-elastic-01:9200,https://qa-elastic-stack-elastic-02:9200,https://qa-elastic-stack-elastic-03:9200
patchesStrategicMerge:
- patches.yaml

@ -8,48 +8,6 @@ metadata:
spec: spec:
template: template:
spec: spec:
containers:
- args:
- --es-cluster=https://qa-elastic-stack-elastic-01:9200,https://qa-elastic-stack-elastic-02:9200,https://qa-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
- mountPath: /mnt/certs
name: cert-volume
hostAliases: hostAliases:
- hostnames: - hostnames:
- qa-elastic-stack-elastic-01 - qa-elastic-stack-elastic-01

Loading…
Cancel
Save