Added external ingress for Grafana

This commit is contained in:
CarlosEDP 2018-03-06 10:37:31 -05:00
parent 0a869e7a27
commit df063cf1fd
2 changed files with 21 additions and 1 deletions

View File

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

View File

@ -20,7 +20,7 @@ spec:
hostNetwork: true hostNetwork: true
hostPID: true hostPID: true
containers: containers:
- image: napnap75/rpi-prometheus:node_exporter - image: carlosedp/node_exporter
args: args:
#- "--web.listen-address=0.0.0.1:9100" #- "--web.listen-address=0.0.0.1:9100"
- "--path.procfs=/host/proc" - "--path.procfs=/host/proc"