diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-10-13 11:56:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-13 11:56:29 +0000 |
commit | 1cc39a8f467a4744293b0776c51d280a4820544e (patch) | |
tree | 944493dd6072b7c021cc1be29ce6be583a73ba92 /kubernetes/common/mongo/values.yaml | |
parent | ef4faae629d46539c3b596becdc689fece325620 (diff) | |
parent | c27b6a347bfafa617f005a2b0b86aac18bc20ad1 (diff) |
Merge "[COMMON] Add limits to mongo statefulsets."
Diffstat (limited to 'kubernetes/common/mongo/values.yaml')
-rw-r--r-- | kubernetes/common/mongo/values.yaml | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/kubernetes/common/mongo/values.yaml b/kubernetes/common/mongo/values.yaml index d8988c3ae7..b21b0bf758 100644 --- a/kubernetes/common/mongo/values.yaml +++ b/kubernetes/common/mongo/values.yaml @@ -90,7 +90,6 @@ securityContext: 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 @@ -101,13 +100,22 @@ 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 +resources: + small: + limits: + cpu: 100m + memory: 200Mi + requests: + cpu: 10m + memory: 50Mi + large: + limits: + cpu: 2 + memory: 4Gi + requests: + cpu: 1 + memory: 2Gi + unlimited: {} sdnctlPrefix: mongo |