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

Check that both requests and limits are set for a trusted resource config #421

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

bsquizz
Copy link
Collaborator

@bsquizz bsquizz commented Sep 12, 2024

In some cases only the resource limit or only the resource request is being set. Or in other cases, bonfire will remove one of these settings because it finds the parameter name to be un-trusted. If bonfire strips either the limit or the request of the resource config, it causes Clowder to use the environment default for the other one. If the request:limit ratio is off, then the pod won't spin up. This causes problems in the ephemeral environment.

This PR enforces that both request and limit must be present in a resource configuration.

@bsquizz bsquizz changed the title WIP: Check that both requests and limits are set for a trusted resource config Check that both requests and limits are set for a trusted resource config Sep 12, 2024
@bsquizz bsquizz merged commit 7c85c87 into master Sep 17, 2024
12 of 13 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.

2 participants