summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorrui hu <hu.rui2@zte.com.cn>2017-08-30 07:45:07 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-30 07:45:07 +0000
commit35015433a8cda45672d0bbff455aef0f0fd070a0 (patch)
tree6062f9cb336248b56ad2a1d7457af0c67cd25033 /kubernetes
parentf09fd2aa508f8bcf8fda023d6d70ccb20dbf447e (diff)
parent346902975d6a97e0feb83399ff374e9490f16f1f (diff)
Merge "Service objects for iag and eag"
Diffstat (limited to 'kubernetes')
-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