From df063cf1fd99fe918e58c3c1bcbdaba260346282 Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Tue, 6 Mar 2018 10:37:31 -0500 Subject: [PATCH] Added external ingress for Grafana --- .../grafana/grafana-external-ingress.yaml | 20 +++++++++++++++++++ .../node-exporter-daemonset.yaml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 manifests/grafana/grafana-external-ingress.yaml diff --git a/manifests/grafana/grafana-external-ingress.yaml b/manifests/grafana/grafana-external-ingress.yaml new file mode 100644 index 0000000..84f8c30 --- /dev/null +++ b/manifests/grafana/grafana-external-ingress.yaml @@ -0,0 +1,20 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: grafana-external + namespace: monitoring + labels: + traffic-type: external + annotations: + traefik.frontend.rule.type: PathPrefix + traefik.frontend.redirect.regex: ^http://(.*) + traefik.frontend.redirect.replacement: https://$1 +spec: + rules: + - host: grafana.cloud.carlosedp.com + http: + paths: + - path: / + backend: + serviceName: grafana + servicePort: 3000 diff --git a/manifests/node-exporter/node-exporter-daemonset.yaml b/manifests/node-exporter/node-exporter-daemonset.yaml index 433a48c..39c1ae0 100644 --- a/manifests/node-exporter/node-exporter-daemonset.yaml +++ b/manifests/node-exporter/node-exporter-daemonset.yaml @@ -20,7 +20,7 @@ spec: hostNetwork: true hostPID: true containers: - - image: napnap75/rpi-prometheus:node_exporter + - image: carlosedp/node_exporter args: #- "--web.listen-address=0.0.0.1:9100" - "--path.procfs=/host/proc"