From 808e3eb49630e0c1fe63fb43571a4582a85f08f7 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Mon, 18 Mar 2024 12:05:51 +0100 Subject: [MONGODB] Set default resource settings for mongodb Set the resources settings for mongodb in: - NBI - DCAEGEN2/TCAEGEN2 - MULTICLOUD/K8S Issue-ID: OOM-3277 Change-Id: I3454120d920edf3ae45eb1ebb0132cf5133e1575 Signed-off-by: Andreas Geissler --- .../components/multicloud-k8s/values.yaml | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'kubernetes/multicloud/components') diff --git a/kubernetes/multicloud/components/multicloud-k8s/values.yaml b/kubernetes/multicloud/components/multicloud-k8s/values.yaml index 932399e735..5c9c0ad864 100644 --- a/kubernetes/multicloud/components/multicloud-k8s/values.yaml +++ b/kubernetes/multicloud/components/multicloud-k8s/values.yaml @@ -108,14 +108,26 @@ mongodb: port: 27017 auth: enabled: false - #nfsprovisionerPrefix: multicloud-k8s - #sdnctlPrefix: multicloud-k8s - #persistence: - # mountSubPath: multicloud-k8s/mongo/data - # enabled: true - #disableNfsProvisioner: true - flavor: &storage_flavor large - resources: &storage_resources + resources: + limits: + cpu: "2" + memory: "2Gi" + requests: + cpu: "500m" + memory: "2Gi" + +#etcd chart overrides for k8splugin +etcd: + nameOverride: multicloud-k8s-etcd + service: + name: multicloud-k8s-etcd + clientPortName: tcp-etcd-client + peerPortName: tcp-etcd-server + persistence: + mountSubPath: multicloud-k8s/etcd/data + enabled: true + flavor: large + resources: small: limits: cpu: "100m" @@ -132,18 +144,6 @@ mongodb: memory: "300Mi" unlimited: {} -#etcd chart overrides for k8splugin -etcd: - nameOverride: multicloud-k8s-etcd - service: - name: multicloud-k8s-etcd - clientPortName: tcp-etcd-client - peerPortName: tcp-etcd-server - 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: -- cgit 1.2.3-korg