summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/all-services.yaml
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2017-08-24 11:32:22 +0000
committerkerenj <keren.joseph@amdocs.com>2017-08-24 11:32:59 +0000
commitfdc176253250ac0100a15b0d08fe752e2b5cb701 (patch)
treeb7ef40c4557cf55f06faadf4ea0bb2ad4326e81c /kubernetes/aai/templates/all-services.yaml
parent6ca15a741dc9af484a5f8f296a5512ba06255a6e (diff)
aai K8S-Helm Parameterization
changed aai k8s deployment to support helm parameterization. Issue-ID: OOM-52 Change-Id: Ifffdb4204a3fdb2c7be62063134c489f8123012d Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/aai/templates/all-services.yaml')
-rw-r--r--kubernetes/aai/templates/all-services.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/all-services.yaml b/kubernetes/aai/templates/all-services.yaml
new file mode 100644
index 0000000000..4a016f47b5
--- /dev/null
+++ b/kubernetes/aai/templates/all-services.yaml
@@ -0,0 +1,54 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: hbase
+ namespace: {{ .Values.NS }}
+ labels:
+ app: hbase
+spec:
+ ports:
+ - name: "hbase-port"
+ port: 8020
+ selector:
+ app: hbase
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: aai-service
+ namespace: {{ .Values.NS }}
+ labels:
+ app: aai-service
+spec:
+ ports:
+ - name: "aai-service-port-8443"
+ port: 8443
+ targetPort: 8443
+ nodePort: 30233
+ - name: "aai-service-port-8080"
+ port: 8080
+ targetPort: 8080
+ nodePort: 30232
+ type: NodePort
+ selector:
+ app: aai-service
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: model-loader-service
+ namespace: {{ .Values.NS }}
+ labels:
+ app: model-loader-service
+spec:
+ ports:
+ - name: "model-loader-service-port-8443"
+ port: 8443
+ nodePort: 30229
+ - name: "model-loader-service-port-8080"
+ port: 8080
+ nodePort: 30210
+ type: NodePort
+ selector:
+ app: model-loader-service