Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of resource requirements for init containers #1392

Conversation

rooftopcellist
Copy link
Member

SUMMARY

In some use cases, limits must be set for every container in a cluster. To address this, we will use the task and web resource requirements for the initContainers where applicable.

Limits being set on all pods in a cluster are required which certain ResourceQuota's are in place on a given cluster.

If the quota has a value specified for requests.cpu or requests.memory, then it requires that every incoming container make an explicit request for those resources. If the quota has a value specified for limits.cpu or limits.memory, then it requires that every incoming container specify an explicit limit for those resources.

[Ref: RH Quotas and Limit Ranges docs]

ISSUE TYPE
  • Bug, Docs Fix or other nominal change

  - In some use cases, limits must be set for every container in a
    cluster. To address this, we will use the task and web resource
requirements for the initContainers where applicable.
@rooftopcellist rooftopcellist merged commit 1023718 into ansible:devel May 3, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants