Richard Jankowski | c3c291c | 2018-02-02 13:57:33 -0500 | [diff] [blame] | 1 | apiVersion: extensions/v1beta1 |
2 | kind: Ingress | ||||
3 | metadata: | ||||
4 | name: voltha-ingress | ||||
5 | annotations: | ||||
6 | kubernetes.io/ingress.class: "nginx" | ||||
7 | ingress.kubernetes.io/rewrite-target: / | ||||
8 | spec: | ||||
9 | rules: | ||||
10 | - host: k8s-consul | ||||
11 | http: | ||||
12 | paths: | ||||
13 | - path: / | ||||
14 | backend: | ||||
15 | serviceName: consul | ||||
16 | servicePort: 8500 | ||||
17 | - host: k8s-grafana | ||||
18 | http: | ||||
19 | paths: | ||||
20 | - path: / | ||||
21 | backend: | ||||
22 | serviceName: grafana | ||||
23 | servicePort: 8883 |