################################################################################ # Copyright (c) 2019 AT&T Intellectual Property. # # Copyright (c) 2019 Nokia. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################ kind: Service apiVersion: v1 metadata: name: xdcae-ves-collector labels: app: dcae-ves-collector cfydeployment: ves cfynode: ves cfynodeinstance: ves_uj48fg k8sdeployment: dep-dcae-ves-collector spec: ports: - name: xport-t-8080 protocol: TCP port: {{ include "common.serviceport.ves.http.container" . }} targetPort: {{ include "common.serviceport.ves.http.container" . }} nodePort: {{ include "common.serviceport.ves.http" . }} - name: xport-t-8443 protocol: TCP port: {{ include "common.serviceport.ves.https.container" . }} targetPort: {{ include "common.serviceport.ves.https.container" . }} nodePort: {{ include "common.serviceport.ves.https" . }} selector: app: dcae-ves-collector type: NodePort sessionAffinity: None externalTrafficPolicy: Cluster status: loadBalancer: {}