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 | ||||
Richard Jankowski | d445438 | 2018-02-08 16:21:43 -0500 | [diff] [blame] | 5 | namespace: voltha |
Richard Jankowski | c3c291c | 2018-02-02 13:57:33 -0500 | [diff] [blame] | 6 | annotations: |
7 | kubernetes.io/ingress.class: "nginx" | ||||
8 | ingress.kubernetes.io/rewrite-target: / | ||||
9 | spec: | ||||
10 | rules: | ||||
11 | - host: k8s-consul | ||||
12 | http: | ||||
13 | paths: | ||||
14 | - path: / | ||||
15 | backend: | ||||
16 | serviceName: consul | ||||
17 | servicePort: 8500 | ||||
18 | - host: k8s-grafana | ||||
19 | http: | ||||
20 | paths: | ||||
21 | - path: / | ||||
22 | backend: | ||||
23 | serviceName: grafana | ||||
24 | servicePort: 8883 |