summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvaibhav_16dec <vaibhav.chopra@amdocs.com>2018-02-16 06:58:06 +0000
committervaibhav_16dec <vaibhav.chopra@amdocs.com>2018-03-07 10:21:45 +0000
commitb508e0f8290265bee321f709e0cb21027c12f290 (patch)
treef9664e729ec44e91dbb23e20560727e4b6db4914
parent8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff)
Replica scaling of Clamp and AAF conatiner
Issue-ID: OOM-691 Change-Id: Idea9ebc33310cbaf823163cccd6c816477661118 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
-rw-r--r--kubernetes/aaf/templates/aaf-cs-deployment.yaml2
-rw-r--r--kubernetes/aaf/templates/aaf-deployment.yaml1
-rw-r--r--kubernetes/aaf/values.yaml2
-rw-r--r--kubernetes/clamp/templates/clamp-deployment.yaml1
-rw-r--r--kubernetes/clamp/templates/clamp-mariadb-deployment.yaml2
-rw-r--r--kubernetes/clamp/values.yaml2
6 files changed, 8 insertions, 2 deletions
diff --git a/kubernetes/aaf/templates/aaf-cs-deployment.yaml b/kubernetes/aaf/templates/aaf-cs-deployment.yaml
index be5f6c1c54..817f876f6f 100644
--- a/kubernetes/aaf/templates/aaf-cs-deployment.yaml
+++ b/kubernetes/aaf/templates/aaf-cs-deployment.yaml
@@ -5,7 +5,7 @@ metadata:
name: aaf-cs
namespace: "{{ .Values.nsPrefix }}"
spec:
- replicas: 1
+ replicas: {{ .Values.aafcsReplicas }}
selector:
matchLabels:
app: aaf-cs
diff --git a/kubernetes/aaf/templates/aaf-deployment.yaml b/kubernetes/aaf/templates/aaf-deployment.yaml
index 50c3e5ad94..c084cd36b6 100644
--- a/kubernetes/aaf/templates/aaf-deployment.yaml
+++ b/kubernetes/aaf/templates/aaf-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: aaf
namespace: "{{ .Values.nsPrefix }}"
spec:
+ replicas: {{ .Values.aafReplicas }}
selector:
matchLabels:
app: aaf
diff --git a/kubernetes/aaf/values.yaml b/kubernetes/aaf/values.yaml
index 7a3f6c6114..eac5d00e19 100644
--- a/kubernetes/aaf/values.yaml
+++ b/kubernetes/aaf/values.yaml
@@ -1,6 +1,8 @@
nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
+aafcsReplicas: 1
+aafReplicas: 1
image:
readiness: oomk8s/readiness-check:1.1.0
aafImage: nexus3.onap.org:10001/onap/aaf/authz-service
diff --git a/kubernetes/clamp/templates/clamp-deployment.yaml b/kubernetes/clamp/templates/clamp-deployment.yaml
index f5dbdd1cf9..2c2e13f994 100644
--- a/kubernetes/clamp/templates/clamp-deployment.yaml
+++ b/kubernetes/clamp/templates/clamp-deployment.yaml
@@ -7,6 +7,7 @@ metadata:
name: clamp
namespace: "{{ .Values.nsPrefix }}"
spec:
+ replicas: {{ .Values.clampReplicas }}
selector:
matchLabels:
app: clamp
diff --git a/kubernetes/clamp/templates/clamp-mariadb-deployment.yaml b/kubernetes/clamp/templates/clamp-mariadb-deployment.yaml
index 762aa807e2..a12489ef63 100644
--- a/kubernetes/clamp/templates/clamp-mariadb-deployment.yaml
+++ b/kubernetes/clamp/templates/clamp-mariadb-deployment.yaml
@@ -5,7 +5,7 @@ metadata:
name: clamp-mariadb
namespace: "{{ .Values.nsPrefix }}"
spec:
- replicas: 1
+ replicas: {{ .Values.clampMariaDbReplicas }}
selector:
matchLabels:
app: clamp-mariadb
diff --git a/kubernetes/clamp/values.yaml b/kubernetes/clamp/values.yaml
index fd75dc4f1a..103472afd9 100644
--- a/kubernetes/clamp/values.yaml
+++ b/kubernetes/clamp/values.yaml
@@ -3,6 +3,8 @@ pullPolicy: Always
nodePortPrefix: 302
mysqlPassword: strong_pitchou
dataRootDir: /dockerdata-nfs
+clampReplicas: 1
+clampMariaDbReplicas: 1
image:
readiness: oomk8s/readiness-check:1.1.0
clampImage: nexus3.onap.org:10001/onap/clamp