summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb
diff options
context:
space:
mode:
authorrui hu <hu.rui2@zte.com.cn>2017-08-30 02:25:33 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-30 02:25:33 +0000
commitf09fd2aa508f8bcf8fda023d6d70ccb20dbf447e (patch)
tree7b4f11399278db54a7b41d4d9a7d91941209f191 /kubernetes/msb
parentfddaaab3e256e1691d11dc6ec817217c484e762e (diff)
parent77d44cd0a190e5663c08d6fcd3b6f2013add5171 (diff)
Merge "parameterization replica number"
Diffstat (limited to 'kubernetes/msb')
-rw-r--r--kubernetes/msb/templates/all-services.yaml2
-rw-r--r--kubernetes/msb/templates/msb-discovery-deployment.yaml2
-rw-r--r--kubernetes/msb/templates/msb-eag-deployment.yaml2
-rw-r--r--kubernetes/msb/templates/msb-iag-deployment.yaml2
-rw-r--r--kubernetes/msb/values.yaml3
5 files changed, 7 insertions, 4 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index 80892fe728..88f5a9af0e 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -8,7 +8,7 @@ spec:
clusterIP: "{{ .Values.consulClusterIP }}"
ports:
- port: {{ .Values.consulPort }}
- nodePort: "{{ .Values.consulNodePort }}"
+ nodePort: {{ .Values.consulNodePort }}
selector:
app: msb-consul
type: NodePort
diff --git a/kubernetes/msb/templates/msb-discovery-deployment.yaml b/kubernetes/msb/templates/msb-discovery-deployment.yaml
index a5d014aae4..0fcd2f9ba9 100644
--- a/kubernetes/msb/templates/msb-discovery-deployment.yaml
+++ b/kubernetes/msb/templates/msb-discovery-deployment.yaml
@@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: msb-discovery
spec:
- replicas: 2
+ replicas: {{ .Values.discoveryReplicas }}
selector:
matchLabels:
app: msb-discovery
diff --git a/kubernetes/msb/templates/msb-eag-deployment.yaml b/kubernetes/msb/templates/msb-eag-deployment.yaml
index 45b8879bb3..eb75cd9e42 100644
--- a/kubernetes/msb/templates/msb-eag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-eag-deployment.yaml
@@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: msb-eag
spec:
- replicas: 2
+ replicas: {{ .Values.eagReplicas }}
selector:
matchLabels:
app: msb-eag
diff --git a/kubernetes/msb/templates/msb-iag-deployment.yaml b/kubernetes/msb/templates/msb-iag-deployment.yaml
index 655df0e4c3..d83951a415 100644
--- a/kubernetes/msb/templates/msb-iag-deployment.yaml
+++ b/kubernetes/msb/templates/msb-iag-deployment.yaml
@@ -3,7 +3,7 @@ kind: Deployment
metadata:
name: msb-iag
spec:
- replicas: 2
+ replicas: {{ .Values.iagReplicas }}
selector:
matchLabels:
app: msb-iag
diff --git a/kubernetes/msb/values.yaml b/kubernetes/msb/values.yaml
index 8877000c91..6d76d83a37 100644
--- a/kubernetes/msb/values.yaml
+++ b/kubernetes/msb/values.yaml
@@ -4,6 +4,9 @@ consulPort: 8500
consulNodePort: 30500
discoveryPort: 10081
discoveryNodePort: 30081
+discoveryReplicas: 1
+iagReplicas: 1
+eagReplicas: 1
iagPort: 80
iagNodePort: 30080
eagPort: 80