summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/all-services.yaml
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-08-26 11:49:59 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-08-29 00:04:22 +0800
commitf2a9f56a03a1ec82ba2957139cf103258a3540e5 (patch)
treeb2a3a1479e048814b56140b7d9e839eb84b86b7f /kubernetes/msb/templates/all-services.yaml
parentfb541cc7f4cd6e3f1fc9f1a526b59c832fbce3f4 (diff)
MSB Helm chart skeleton
Change-Id: I2f9bbc0f685cd0a0b437e609dc42498d56727676 Issue-Id: OOM-113, MSB-24 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/msb/templates/all-services.yaml')
-rw-r--r--kubernetes/msb/templates/all-services.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
new file mode 100644
index 0000000000..fee2586223
--- /dev/null
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -0,0 +1,14 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: msb-consul
+ labels:
+ app: msb-consul
+spec:
+ clusterIP: "{{ .Values.consulClusterIP }}"
+ ports:
+ - port: 8500
+ nodePort: "{{ .Values.consulNodePort }}"
+ selector:
+ app: msb-consul
+ type: NodePort \ No newline at end of file