summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/templates/all-services.yaml
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-08-29 10:48:25 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-08-29 10:56:04 +0800
commitc2b4fcf13261eb3c363e3e981522ef112a1dbf16 (patch)
treeacfcc94323c836155acacaaa5d2ee258dbcab3e6 /kubernetes/msb/templates/all-services.yaml
parentf2a9f56a03a1ec82ba2957139cf103258a3540e5 (diff)
MSB discovery service k8s deployment
Issue-Id: OOM-113, MSB-56 Change-Id: Idec27ae5e2e32fdf4462144ddb13e9f535a4d044 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.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index fee2586223..ea66c31350 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -11,4 +11,19 @@ spec:
nodePort: "{{ .Values.consulNodePort }}"
selector:
app: msb-consul
+ type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: msb-discovery
+ labels:
+ app: msb-discovery
+spec:
+ clusterIP: "{{ .Values.discoveryClusterIP }}"
+ ports:
+ - port: {{ .Values.discoveryPort }}
+ nodePort: {{ .Values.discoveryNodePort }}
+ selector:
+ app: msb-discovery
type: NodePort \ No newline at end of file