From 28c7d8a0b778f84ebfbf089d2e59a5348adc314c Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Wed, 9 Aug 2017 18:43:00 +0100 Subject: [PATCH] Update gateway DNS entry to cluster-local --- prometheus/k8s.prometheus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/k8s.prometheus.yml b/prometheus/k8s.prometheus.yml index 7d182c37..cbd27927 100644 --- a/prometheus/k8s.prometheus.yml +++ b/prometheus/k8s.prometheus.yml @@ -31,7 +31,7 @@ scrape_configs: - job_name: "gateway" scrape_interval: 5s dns_sd_configs: - - names: ['gateway.default'] + - names: ['gateway.default.svc.cluster.local'] port: 8080 type: A refresh_interval: 5s