Gopinath Taget | 9b609e0 | 2018-03-07 16:02:50 -0800 | [diff] [blame^] | 1 | apiVersion: v1 |
2 | kind: Service | ||||
3 | metadata: | ||||
4 | name: "xos-core" | ||||
5 | labels: | ||||
6 | {{- include "xos-core.release_labels" . | indent 4 }} | ||||
7 | spec: | ||||
8 | type: NodePort | ||||
9 | ports: | ||||
10 | - port: 50051 | ||||
11 | name: secure | ||||
12 | targetPort: 50051 | ||||
13 | protocol: TCP | ||||
14 | - port: 50055 | ||||
15 | name: insecure | ||||
16 | targetPort: 50055 | ||||
17 | protocol: TCP | ||||
18 | selector: | ||||
19 | app: "xos-core" |