718cd412510769a6f8658bdd69f62f89f9c662b8
[it/dep.git] / ric-aux / 80-Auxiliary-Functions / helm / ves / templates / ves-service.yaml
1 ################################################################################\r
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #\r
3 #   Copyright (c) 2019 Nokia.                                                  #\r
4 #                                                                              #\r
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #\r
6 #   you may not use this file except in compliance with the License.           #\r
7 #   You may obtain a copy of the License at                                    #\r
8 #                                                                              #\r
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #\r
10 #                                                                              #\r
11 #   Unless required by applicable law or agreed to in writing, software        #\r
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #\r
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #\r
14 #   See the License for the specific language governing permissions and        #\r
15 #   limitations under the License.                                             #\r
16 ################################################################################\r
17 \r
18 \r
19 kind: Service\r
20 apiVersion: v1\r
21 metadata:\r
22   name: xdcae-ves-collector\r
23   labels:\r
24     app: dcae-ves-collector\r
25     cfydeployment: ves\r
26     cfynode: ves\r
27     cfynodeinstance: ves_uj48fg\r
28     k8sdeployment: dep-dcae-ves-collector\r
29 spec:\r
30   ports:\r
31   - name: xport-t-8080\r
32     protocol: TCP\r
33     port: 8080\r
34     targetPort: 8080\r
35     nodePort: 30235\r
36   - name: xport-t-8443\r
37     protocol: TCP\r
38     port: 8443\r
39     targetPort: 8443\r
40     nodePort: 30417\r
41   selector:\r
42     app: dcae-ves-collector\r
43   type: NodePort\r
44   sessionAffinity: None\r
45   externalTrafficPolicy: Cluster\r
46 status:\r
47   loadBalancer: {}\r