Service objects for iag and eag 99/9299/1
authorHuabingZhao <zhao.huabing@zte.com.cn>
Wed, 30 Aug 2017 05:42:11 +0000 (13:42 +0800)
committerHuabingZhao <zhao.huabing@zte.com.cn>
Wed, 30 Aug 2017 05:43:14 +0000 (13:43 +0800)
Issue-Id: OOM-113
Change-Id: Ic91394e18e52b8225d2e31c0cc4ec3e752b94d33
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
kubernetes/msb/templates/all-services.yaml
kubernetes/msb/values.yaml

index 88f5a9a..b67808d 100644 (file)
@@ -26,4 +26,34 @@ spec:
       nodePort: {{ .Values.discoveryNodePort }}
   selector:
     app: msb-discovery
+  type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: msb-iag
+  labels:
+    app: msb-iag
+spec:
+  clusterIP: "{{ .Values.iagClusterIP }}"
+  ports:
+    - port: {{ .Values.iagPort }}
+      nodePort: {{ .Values.iagNodePort }}
+  selector:
+    app: msb-iag
+  type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: msb-eag
+  labels:
+    app: msb-eag
+spec:
+  clusterIP: "{{ .Values.eagClusterIP }}"
+  ports:
+    - port: {{ .Values.eagPort }}
+      nodePort: {{ .Values.eagNodePort }}
+  selector:
+    app: msb-eag
   type: NodePort
\ No newline at end of file
index 6d76d83..38059e1 100644 (file)
@@ -1,14 +1,20 @@
 consulClusterIP: 10.43.6.204
-discoveryClusterIP: 10.43.6.205
 consulPort: 8500
 consulNodePort: 30500
+
+discoveryClusterIP: 10.43.6.205
 discoveryPort: 10081
 discoveryNodePort: 30081
 discoveryReplicas: 1
-iagReplicas: 1
-eagReplicas: 1
+
+iagClusterIP: 10.43.6.206
 iagPort: 80
 iagNodePort: 30080
+iagReplicas: 1
+
+eagClusterIP: 10.43.6.207
 eagPort: 80
 eagNodePort: 30082
+eagReplicas: 1
+
 pullPolicy: IfNotPresent
\ No newline at end of file