summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp
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 /kubernetes/clamp
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>
Diffstat (limited to 'kubernetes/clamp')
-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
3 files changed, 4 insertions, 1 deletions
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