diff options
author | Eric Debeau <eric.debeau@orange.com> | 2018-09-11 12:23:07 +0000 |
---|---|---|
committer | Eric Debeau <eric.debeau@orange.com> | 2018-09-11 12:25:24 +0000 |
commit | 33774efb45bfed4c63cebef82aee0aa215b64070 (patch) | |
tree | 5afcc3247608f05654c3cd1481c137a5bc8c374a | |
parent | 5d4009b3530ef2332122ab6bed115c43edb146f3 (diff) |
Fix resource imits for nbi
Issue-ID: OOM-1156
Change-Id: I2745d750b2031dcf8283fc46abd2034b284332d4
Signed-off-by: Eric Debeau <eric.debeau@orange.com>
-rw-r--r-- | kubernetes/nbi/values.yaml | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/kubernetes/nbi/values.yaml b/kubernetes/nbi/values.yaml index a8e7ba9ebe..405a59cd25 100644 --- a/kubernetes/nbi/values.yaml +++ b/kubernetes/nbi/values.yaml @@ -104,21 +104,10 @@ 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 - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # - # Example: - # Configure resource requests and limits - # 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: + limits: + cpu: 1 + memory: 2Gi + requests: + cpu: 100m + memory: 1Gi |