mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Added external ingress for Grafana
This commit is contained in:
parent
0a869e7a27
commit
df063cf1fd
20
manifests/grafana/grafana-external-ingress.yaml
Normal file
20
manifests/grafana/grafana-external-ingress.yaml
Normal 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
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user