summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2020-09-11 17:04:51 +0200
committerKonrad Bańka <k.banka@samsung.com>2020-09-14 09:22:32 +0200
commit1074079e346f0932dc07d423f77b8d28e8bf697e (patch)
tree2f39be0970af60550f2ae16457f01633baa8b045
parent8c62083d8ac58e74f16409adf775cb1c49063745 (diff)
[Multicloud] Provide limits for storage pods
Issue-ID: MULTICLOUD-1205 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I06e23aa1e8a3cc6d80078a5461985c38b2b44279
-rw-r--r--kubernetes/multicloud/charts/multicloud-k8s/values.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/multicloud/charts/multicloud-k8s/values.yaml b/kubernetes/multicloud/charts/multicloud-k8s/values.yaml
index 2cdbba77c0..b9fa617d94 100644
--- a/kubernetes/multicloud/charts/multicloud-k8s/values.yaml
+++ b/kubernetes/multicloud/charts/multicloud-k8s/values.yaml
@@ -73,6 +73,23 @@ mongo:
mountSubPath: multicloud-k8s/mongo/data
enabled: true
disableNfsProvisioner: true
+ flavor: &storage_flavor large
+ resources: &storage_resources
+ small:
+ limits:
+ cpu: 100m
+ memory: 300Mi
+ requests:
+ cpu: 10m
+ memory: 75Mi
+ large:
+ limits:
+ cpu: 200m
+ memory: 1Gi
+ requests:
+ cpu: 50m
+ memory: 300Mi
+ unlimited: {}
#etcd chart overrides for k8splugin
etcd:
@@ -82,6 +99,8 @@ etcd:
persistence:
mountSubPath: multicloud-k8s/etcd/data
enabled: true
+ flavor: *storage_flavor
+ resources: *storage_resources
# No persistence right now as we rely on Mongo to handle that
persistence: