blob: dbdf6ffd9166463e790d7b3d3b5805c6ab090633 [file] [log] [blame]
Zack Williams41513bf2018-07-07 20:08:35 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Richard Jankowskic3c291c2018-02-02 13:57:33 -050014apiVersion: extensions/v1beta1
15kind: Ingress
16metadata:
17 name: voltha-ingress
Richard Jankowskid4454382018-02-08 16:21:43 -050018 namespace: voltha
Richard Jankowskic3c291c2018-02-02 13:57:33 -050019 annotations:
20 kubernetes.io/ingress.class: "nginx"
21 ingress.kubernetes.io/rewrite-target: /
22spec:
23 rules:
24 - host: k8s-consul
25 http:
26 paths:
27 - path: /
28 backend:
29 serviceName: consul
30 servicePort: 8500
31 - host: k8s-grafana
32 http:
33 paths:
34 - path: /
35 backend:
36 serviceName: grafana
37 servicePort: 8883