MSB discovery service k8s deployment
Issue-Id: OOM-113, MSB-56
Change-Id: Idec27ae5e2e32fdf4462144ddb13e9f535a4d044
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index fee2586..ea66c31 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -11,4 +11,19 @@
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