aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-08-30 13:42:11 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-08-30 13:43:14 +0800
commit346902975d6a97e0feb83399ff374e9490f16f1f (patch)
tree4f39dcc1676668aa1f4d215ba444cc5d4d95975b
parent77d44cd0a190e5663c08d6fcd3b6f2013add5171 (diff)
Service objects for iag and eag
Issue-Id: OOM-113 Change-Id: Ic91394e18e52b8225d2e31c0cc4ec3e752b94d33 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r--kubernetes/msb/templates/all-services.yaml30
-rw-r--r--kubernetes/msb/values.yaml12
2 files changed, 39 insertions, 3 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index 88f5a9af0e..b67808d2da 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -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
diff --git a/kubernetes/msb/values.yaml b/kubernetes/msb/values.yaml
index 6d76d83a37..38059e1458 100644
--- a/kubernetes/msb/values.yaml
+++ b/kubernetes/msb/values.yaml
@@ -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