diff options
author | 2024-03-18 12:05:51 +0100 | |
---|---|---|
committer | 2024-03-18 13:05:34 +0100 | |
commit | 808e3eb49630e0c1fe63fb43571a4582a85f08f7 (patch) | |
tree | 95bc8612ee5c3afd49d107ad8820c74add1ae86b /kubernetes/multicloud/components/multicloud-k8s | |
parent | 8cbb3d9b964b774b1400df5d909913b669c2a243 (diff) |
[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 <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/multicloud/components/multicloud-k8s')
-rw-r--r-- | kubernetes/multicloud/components/multicloud-k8s/values.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
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: |