blob: 2cd895b45ade2e7c5ec378bc87d62d0f509fdcd0 [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
labels:
app: sdc-es
name: sdc-es
namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
ports:
- name: sdc-es-port-9200
port: 9200
- name: sdc-es-port-9300
port: 9300
selector:
app: sdc-es
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
labels:
app: sdc-cs
name: sdc-cs
namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
ports:
- name: sdc-cs-port-9042
port: 9042
- name: sdc-cs-port-9160
port: 9160
selector:
app: sdc-cs
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
labels:
app: sdc-kb
name: sdc-kb
namespace: "{{ .Values.nsPrefix }}-sdc"
spec:
ports:
- name: sdc-kb-port-5601
port: 5601
selector:
app: sdc-kb
clusterIP: None
---
apiVersion: v1
kind: Service
metadata:
labels:
app: sdc-be
name: sdc-be
namespace: "{{ .Values.nsPrefix }}-sdc"
annotations:
msb.onap.org/service-info: '[
{
"serviceName": "sdc",
"version": "v1",
"url": "/sdc/v1",
"protocol": "REST",
"port": "8080",
"visualRange":"1"
},
{
"serviceName": "sdc-deprecated",
"version": "v1",
"url": "/sdc/v1",
"protocol": "REST",
"port": "8080",
"visualRange":"1",
"path":"/sdc/v1"
}
]'
spec:
ports:
- name: sdc-be-port-8443
nodePort: {{ .Values.nodePortPrefix }}04
port: 8443
- name: sdc-be-port-8080
nodePort: {{ .Values.nodePortPrefix }}05
port: 8080
selector:
app: sdc-be
type: NodePort
---
apiVersion: v1
kind: Service
metadata:
labels:
app: sdc-fe
name: sdc-fe
namespace: "{{ .Values.nsPrefix }}-sdc"
annotations:
msb.onap.org/service-info: '[
{
"serviceName": "sdc-gui",
"version": "v1",
"url": "/sdc1",
"protocol": "UI",
"port": "8181",
"visualRange":"0|1"
}
]'
spec:
ports:
- name: sdc-fe-port-9443
nodePort: {{ .Values.nodePortPrefix }}07
port: 9443
- name: sdc-fe-port-8181
nodePort: {{ .Values.nodePortPrefix }}06
port: 8181
selector:
app: sdc-fe
type: NodePort