summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp/templates/all-services.yaml
diff options
context:
space:
mode:
authorDusan Rozman <dusan.rozman@amdocs.com>2017-09-18 13:07:56 -0400
committerDusan Rozman <dusan.rozman@amdocs.com>2017-09-20 09:29:27 -0400
commitf776f3d5fa1a660bee24057e65625b62eedf382c (patch)
tree64eac5edfd1bb42b0b83a0ceb42bc92f8bf026a7 /kubernetes/clamp/templates/all-services.yaml
parentced477af63cd1453f189dd4352e3e1dd6bf7658c (diff)
Added CLAMP containers to ONAP Kubernetes
Added the initial deployment yamls for CLAMP and updated one-click Issue-ID: OOM-12 Change-Id: I48c842d77bf95ad53dcff9ab28edf542b1cb4bf5 Signed-off-by: Dusan Rozman <dusan.rozman@amdocs.com>
Diffstat (limited to 'kubernetes/clamp/templates/all-services.yaml')
-rw-r--r--kubernetes/clamp/templates/all-services.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/clamp/templates/all-services.yaml b/kubernetes/clamp/templates/all-services.yaml
new file mode 100644
index 0000000000..20ec58415d
--- /dev/null
+++ b/kubernetes/clamp/templates/all-services.yaml
@@ -0,0 +1,28 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: clamp-mariadb
+ namespace: "{{ .Values.nsPrefix }}-clamp"
+ labels:
+ app: clamp-mariadb
+spec:
+ ports:
+ - name: clamp-mariadb
+ port: 3306
+ selector:
+ app: clamp-mariadb
+ clusterIP: None
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: clamp
+ namespace: "{{ .Values.nsPrefix }}-clamp"
+spec:
+ ports:
+ - name: clamp
+ port: 8080
+ nodePort: {{ .Values.nodePortPrefix }}95
+ selector:
+ app: clamp
+ type: NodePort