diff options
author | kerenj <keren.joseph@amdocs.com> | 2017-08-24 13:54:21 +0000 |
---|---|---|
committer | kerenj <keren.joseph@amdocs.com> | 2017-08-24 13:54:35 +0000 |
commit | 80102849bc4a8920f84fb4798d19d28e2a91da1b (patch) | |
tree | 0a1ca19a049ac53dfe5591262ff9a4617e3a6eae /kubernetes/sdc/templates/all-services.yaml | |
parent | fdc176253250ac0100a15b0d08fe752e2b5cb701 (diff) |
sdc K8S-Helm Parameterization
changed sdc k8s deployment to support helm parameterization. updated create/delete for helm only
Issue-ID: OOM-52
Change-Id: Ic7fb17fcf5be5813b0a0c54299cdf0d0417e8a76
Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/sdc/templates/all-services.yaml')
-rw-r--r-- | kubernetes/sdc/templates/all-services.yaml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/kubernetes/sdc/templates/all-services.yaml b/kubernetes/sdc/templates/all-services.yaml new file mode 100644 index 0000000000..25ca65e0da --- /dev/null +++ b/kubernetes/sdc/templates/all-services.yaml @@ -0,0 +1,86 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: sdc-es + name: sdc-es + namespace: {{ .Values.NS }} +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.NS }} +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.NS }} +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.NS }} +spec: + ports: + - name: sdc-be-port-8443 + nodePort: 30204 + port: 8443 + - name: sdc-be-port-8080 + nodePort: 30205 + port: 8080 + selector: + app: sdc-be + type: NodePort +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: sdc-fe + name: sdc-fe + namespace: {{ .Values.NS }} +spec: + ports: + - name: sdc-fe-port-9443 + nodePort: 30207 + port: 9443 + - name: sdc-fe-port-8181 + nodePort: 30206 + port: 8181 + selector: + app: sdc-fe + type: NodePort |