summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/values.yaml
diff options
context:
space:
mode:
authorrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-18 16:55:39 -0400
committerrajeshkalai <rajesh.kalaiselvan@amdocs.com>2018-09-18 16:56:26 -0400
commit0e89201bb34d95d41ec4aac6ace92e7228728b73 (patch)
tree0533f835b4ac3b77fa1f7efd591cd4766a9623e3 /kubernetes/aai/values.yaml
parent9eb454b360f35d750c3c7528c2149dc00be45fa7 (diff)
Add resource limit for aai
Issue-ID: OOM-1147 Change-Id: I1c052b277a8372c188297a53183ea0ded74161bf Signed-off-by: rajeshkalai <rajesh.kalaiselvan@amdocs.com>
Diffstat (limited to 'kubernetes/aai/values.yaml')
-rw-r--r--kubernetes/aai/values.yaml25
1 files changed, 17 insertions, 8 deletions
diff --git a/kubernetes/aai/values.yaml b/kubernetes/aai/values.yaml
index 99699a0031..25f8ddf55b 100644
--- a/kubernetes/aai/values.yaml
+++ b/kubernetes/aai/values.yaml
@@ -196,6 +196,8 @@ dockerhubRepository: registry.hub.docker.com
image: aaionap/haproxy:1.2.4
pullPolicy: Always
+flavor: small
+
# flag to enable debugging - application support required
debugEnabled: false
@@ -240,7 +242,6 @@ service:
ingress:
enabled: false
-resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -251,10 +252,18 @@ resources: {}
# ref: http://kubernetes.io/docs/user-guide/compute-resources/
# Minimum memory for development is 2 CPU cores and 4GB memory
# Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-# limits:
-# cpu: 2
-# memory: 4Gi
-# requests:
-# cpu: 2
-# memory: 4Gi \ No newline at end of file
+resources:
+ small:
+ limits:
+ cpu: 2
+ memory: 4Gi
+ requests:
+ cpu: 2
+ memory: 4Gi
+ large:
+ limits:
+ cpu: 4
+ memory: 8Gi
+ requests:
+ cpu: 4
+ memory: 8Gi