add resources to init-containers #362

Closed
emiliebiscuits wants to merge 6 commits from main into main
emiliebiscuits commented 2022-09-16 12:00:40 +00:00 (Migrated from gitea.com)

Description of the change

Added resource limits and requests to init containers.

Benefits

With resources limits and requests set, init containers can not run out of resources.
Sanitizers ( example Popeye ) will no longer complain about resources requests/limits.

Possible drawbacks

This PR allows only the same requests and limits for all init containers. Each init container cannot has its own limits and requests set separately.

Checklist

  • Parameters are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Breaking changes are documented in the README.md
### Description of the change Added resource limits and requests to init containers. ### Benefits With resources limits and requests set, init containers can not run out of resources. Sanitizers ( example Popeye ) will no longer complain about resources requests/limits. ### Possible drawbacks This PR allows only the same requests and limits for all init containers. Each init container cannot has its own limits and requests set separately. ### Checklist <!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] --> - [X] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) - [X] Breaking changes are documented in the `README.md`
justusbunsi commented 2022-09-22 10:56:42 +00:00 (Migrated from gitea.com)

In general lgtm. Please provide a pull request description according to the pull request template.

In general lgtm. Please provide a pull request description according to the pull request template.
emiliebiscuits commented 2022-09-22 12:19:08 +00:00 (Migrated from gitea.com)

In general lgtm. Please provide a pull request description according to the pull request template.

done

> In general lgtm. Please provide a pull request description according to the pull request template. done
justusbunsi (Migrated from gitea.com) approved these changes 2022-09-25 11:16:50 +00:00
justusbunsi (Migrated from gitea.com) left a comment

LGTM

LGTM
pat-s commented 2023-03-09 09:07:44 +00:00 (Migrated from gitea.com)

@emiliebiscuits Could you resolve the conflicts? After that, I think we can merge. Thanks again for your contribution!

@emiliebiscuits Could you resolve the conflicts? After that, I think we can merge. Thanks again for your contribution!
techknowlogick (Migrated from gitea.com) approved these changes 2023-03-10 03:07:00 +00:00
techknowlogick commented 2023-03-10 03:07:33 +00:00 (Migrated from gitea.com)

LGTM, could be merged when conflicts are resolved.

LGTM, could be merged when conflicts are resolved.
pat-s commented 2023-03-28 21:50:03 +00:00 (Migrated from gitea.com)

superseded by #423 as OP seems inactive and we can't update the branch.

superseded by #423 as OP seems inactive and we can't update the branch.

Pull request closed

Sign in to join this conversation.
No description provided.