Skip to content
New issue

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

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

Already on GitHub? # to your account

⚠️ Remove default resource limits #52

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

axel7born
Copy link
Contributor

@axel7born axel7born commented Jun 4, 2024

⚠️ Operators: you might want to configure resource limits of the extension deployment explicitly in your ControllerDeployment.

We propose to set the resources field in the values.yaml file to an empty map. This change would align with the configuration used in other Gardener extensions. We've encountered issues specifically related to the CPU limit, which we prefer not to set. With the current configuration, it's not possible to delete the CPU limit once it's set; we can only increase its value. By setting resources to an empty map, we can avoid this issue and provide more flexibility in resource configuration.

@axel7born axel7born changed the title Empty resources value. Set the resources field in the values.yaml file to an empty map. Jun 4, 2024
@timebertt timebertt changed the title Set the resources field in the values.yaml file to an empty map. ⚠️ Set the resources field in the values.yaml file to an empty map Jun 7, 2024
Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm generally fine with the change, I'm just wondering about the requests part.
I marked the PR with a ⚠️ so that operators know they might want to adapt their configuration.

@axel7born axel7born force-pushed the remove-resources-from-values branch from 62c7bf3 to ddc989d Compare June 7, 2024 12:33
@timebertt timebertt changed the title ⚠️ Set the resources field in the values.yaml file to an empty map ⚠️ Remove default resource limits Jun 7, 2024
Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@timebertt timebertt merged commit 9b8a191 into stackitcloud:main Jun 7, 2024
1 check passed
@axel7born axel7born deleted the remove-resources-from-values branch June 7, 2024 13:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants