Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #76 from mesosphere/cops-5528-make-exporter-port-n…
Browse files Browse the repository at this point in the history
…amed-vip

COPS-5528: Make exporter port Named VIP
  • Loading branch information
kaiwalyajoshi authored Mar 25, 2020
2 parents eb148f8 + c5174db commit d0d7538
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frameworks/elastic/src/main/dist/svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,11 @@ pods:
count: 0
{{/PROMETHEUS_EXPORTER_ENABLED}}
allow-decommission: true
# TODO: Apply network labels after adding port labels support in SDK
{{#ENABLE_VIRTUAL_NETWORK}}
networks:
{{VIRTUAL_NETWORK_NAME}}:
labels: {{VIRTUAL_NETWORK_PLUGIN_LABELS}}
{{/ENABLE_VIRTUAL_NETWORK}}
uris:
- {{ELASTICSEARCH_JAVA_URI}}
- {{PROMETHEUS_EXPORTER_URI}}
Expand All @@ -330,6 +334,9 @@ pods:
exporter:
port: 0
env-key: METRICS_PORT
vip:
prefix: exporter
port: 9114
volume:
path: "container-path"
type: {{PROMETHEUS_EXPORTER_DISK_TYPE}}
Expand Down

0 comments on commit d0d7538

Please sign in to comment.