summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-24 15:15:48 +0000
committerMandeep Khinda <mandeep.khinda@amdocs.com>2018-09-25 14:17:31 +0000
commit60d36d4b00699c857e219d22c48c42a4391b9147 (patch)
tree628853c2672955ad5d4fec868f8aa9b39bc7a04c /kubernetes/vid
parent122185845c21a7b5cdd0ab9091f6ec7771a932b7 (diff)
adding unlimited resource limit
Adds the ability to turn them off if they are found to cause issues also cleaning up some whitespace Issue-ID: OOM-1145 Change-Id: Idf0ee21f70e1bf65813b7f51ea028f2783a01cf8 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/vid')
-rw-r--r--kubernetes/vid/charts/vid-mariadb-galera/values.yaml5
-rw-r--r--kubernetes/vid/values.yaml5
2 files changed, 6 insertions, 4 deletions
diff --git a/kubernetes/vid/charts/vid-mariadb-galera/values.yaml b/kubernetes/vid/charts/vid-mariadb-galera/values.yaml
index 10509d987a..d5ed703767 100644
--- a/kubernetes/vid/charts/vid-mariadb-galera/values.yaml
+++ b/kubernetes/vid/charts/vid-mariadb-galera/values.yaml
@@ -42,7 +42,7 @@ config:
mysqlDatabase: vid_openecomp_epsdk
-# default number of instances in the StatefulSet
+# default number of instances in the StatefulSet
# keep in mind that if the number is increased you need to update vid-galera-config-job.yaml so that the job will know to wait for all pods.
replicaCount: 1
@@ -106,7 +106,7 @@ ingress:
#externalConfig: {}
externalConfig: |-
lower_case_table_names = 1
-# Resource Limit flavor -By Default using small
+# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
@@ -124,6 +124,7 @@ resources:
requests:
cpu: 20m
memory: 1Gi
+ unlimited: {}
# Name for mariadb-galera cluster - should be unique accross all projects or other clusters
nameOverride: vid-mariadb-galera
diff --git a/kubernetes/vid/values.yaml b/kubernetes/vid/values.yaml
index 4b0f38c4b8..79e9440a25 100644
--- a/kubernetes/vid/values.yaml
+++ b/kubernetes/vid/values.yaml
@@ -91,7 +91,7 @@ service:
ingress:
enabled: false
-# Resource Limit flavor -By Default using small
+# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
@@ -108,4 +108,5 @@ resources:
memory: 4Gi
requests:
cpu: 200m
- memory: 2Gi \ No newline at end of file
+ memory: 2Gi
+ unlimited: {} \ No newline at end of file