aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/mso
diff options
context:
space:
mode:
authorkerenj <keren.joseph@amdocs.com>2017-08-29 09:56:36 +0000
committerkerenj <keren.joseph@amdocs.com>2017-08-31 13:44:29 +0000
commit78eff21978e9252c1128ff2f4820d43a08b2b0a7 (patch)
tree3c5ace0956640a449cbdbe1491b083bf6f5b48f5 /kubernetes/mso
parentb8d9bacebcf47ca4a96d49cf21418067b8550870 (diff)
NodePort Helm Parametrization
parameterization of node ports, and create/delete update to fix multi ONAP instances creation(in diff NS). Issue-ID: OOM-52 Change-Id: Iaa3f5bc43f70b95cdc349389e25ef8b804a7a329 Signed-off-by: kerenj <keren.joseph@amdocs.com>
Diffstat (limited to 'kubernetes/mso')
-rw-r--r--kubernetes/mso/templates/all-services.yaml12
-rw-r--r--kubernetes/mso/values.yaml1
2 files changed, 7 insertions, 6 deletions
diff --git a/kubernetes/mso/templates/all-services.yaml b/kubernetes/mso/templates/all-services.yaml
index a0807d759e..2cacf11d32 100644
--- a/kubernetes/mso/templates/all-services.yaml
+++ b/kubernetes/mso/templates/all-services.yaml
@@ -8,7 +8,7 @@ metadata:
spec:
ports:
- port: 3306
- nodePort: 30252
+ nodePort: {{ .Values.nodePortPrefix }}52
selector:
app: mariadb
type: NodePort
@@ -26,17 +26,17 @@ spec:
ports:
- name: mso1
port: 8080
- nodePort: 30223
+ nodePort: {{ .Values.nodePortPrefix }}23
- name: mso2
port: 3904
- nodePort: 30225
+ nodePort: {{ .Values.nodePortPrefix }}25
- name: mso3
port: 3905
- nodePort: 30224
+ nodePort: {{ .Values.nodePortPrefix }}24
- name: mso4
port: 9990
- nodePort: 30222
+ nodePort: {{ .Values.nodePortPrefix }}22
- name: mso5
port: 8787
- nodePort: 30250
+ nodePort: {{ .Values.nodePortPrefix }}50
type: NodePort
diff --git a/kubernetes/mso/values.yaml b/kubernetes/mso/values.yaml
index a7eed4797d..883db87a8d 100644
--- a/kubernetes/mso/values.yaml
+++ b/kubernetes/mso/values.yaml
@@ -1,5 +1,6 @@
nsPrefix: onap
pullPolicy: Always
+nodePortPrefix: 302
image:
readiness: oomk8s/readiness-check:1.0.0
mso: nexus3.onap.org:10001/openecomp/mso:1.1-STAGING-latest