Skip to content

Commit

Permalink
chore: add resources limits and requests to containers (#329)
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl authored May 31, 2024
1 parent 1d67af1 commit 44afc50
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
9 changes: 8 additions & 1 deletion charts/substra-frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

<!-- towncrier release notes start -->

## [1.1.0] - 2024-04-05

### Added

- Resources limits and requests (CPU and memory) for all containers.


## [1.0.28] - 2024-03-27


Expand All @@ -21,7 +28,7 @@
### Changed

- Upgrade AppVersion to 0.47.0

## 1.0.25

### Changed
Expand Down
2 changes: 1 addition & 1 deletion charts/substra-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ type: application
maintainers:
- name: Substra Team
email: support@substra.org
version: 1.0.28
version: 1.1.0
appVersion: 0.49.0 # should be same as in package.json
kubeVersion: '>= 1.19.0-0'
19 changes: 8 additions & 11 deletions charts/substra-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}

Expand Down

0 comments on commit 44afc50

Please sign in to comment.