From e0dbec6ee0f6754bc7edb2b89feeee208daefbff Mon Sep 17 00:00:00 2001 From: SdgJlbl Date: Fri, 5 Apr 2024 15:51:06 +0200 Subject: [PATCH] chore: add resources limits and requests to containers Signed-off-by: SdgJlbl --- charts/substra-frontend/CHANGELOG.md | 9 ++++++++- charts/substra-frontend/Chart.yaml | 2 +- charts/substra-frontend/values.yaml | 19 ++++++++----------- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/charts/substra-frontend/CHANGELOG.md b/charts/substra-frontend/CHANGELOG.md index b0263d0c..3acb936a 100644 --- a/charts/substra-frontend/CHANGELOG.md +++ b/charts/substra-frontend/CHANGELOG.md @@ -2,6 +2,13 @@ +## [1.1.0-alpha1] - 2024-04-05 + +### Added + +- Resources limits and requests (CPU and memory) for all containers. + + ## [1.0.28] - 2024-03-27 @@ -21,7 +28,7 @@ ### Changed - Upgrade AppVersion to 0.47.0 - + ## 1.0.25 ### Changed diff --git a/charts/substra-frontend/Chart.yaml b/charts/substra-frontend/Chart.yaml index 52cb5a15..113caad3 100644 --- a/charts/substra-frontend/Chart.yaml +++ b/charts/substra-frontend/Chart.yaml @@ -10,6 +10,6 @@ type: application maintainers: - name: Substra Team email: support@substra.org -version: 1.0.28 +version: 1.1.0-alpha1 appVersion: 0.49.0 # should be same as in package.json kubeVersion: '>= 1.19.0-0' diff --git a/charts/substra-frontend/values.yaml b/charts/substra-frontend/values.yaml index f3725720..8df54565 100644 --- a/charts/substra-frontend/values.yaml +++ b/charts/substra-frontend/values.yaml @@ -50,17 +50,14 @@ ingress: # hosts: # - chart-example.local -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:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi +resources: + requests: + memory: "200Mi" + cpu: "100m" + limits: + memory: "800Mi" + cpu: "100m" + nodeSelector: {}