Fix: aai resource limits- charts except cassandra
[oom.git] / kubernetes / aai / charts / aai-modelloader / values.yaml
index 977860f..e406443 100644 (file)
@@ -24,7 +24,7 @@ repository: nexus3.onap.org:10001
 image: onap/model-loader:1.3-STAGING-latest
 pullPolicy: Always
 restartPolicy: Always
-
+flavor: small
 # application configuration
 config: {}
 
@@ -61,7 +61,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
@@ -79,3 +78,18 @@ resources: {}
 #  requests:
 #    cpu: 2
 #    memory: 4Gi
+resources:
+  small:
+    limits:
+      cpu: 2
+      memory: 4Gi
+    requests:
+      cpu: 1
+      memory: 2Gi
+  large:
+    limits:
+      cpu: 4
+      memory: 8Gi
+    requests:
+      cpu: 4
+      memory: 8Gi