-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Add support for resource request/limit annotations on k8s Gateways #52694
Add support for resource request/limit annotations on k8s Gateways #52694
Conversation
😊 Welcome @aleks-andr! This is either your first contribution to the Istio istio repo, or it's been You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines Thanks for contributing! Courtesy of your friendly welcome wagon. |
Hi @aleks-andr. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I'm not sure this is the way we want to go about doing this (though I do think we need it as a feature). I would prefer that we remove or replace the |
Thanks for the feedback 🙏 I noticed the controller already reads the As per your suggestion, I did go ahead and replace the (admittedly misleading) |
/cc @howardjohn for feedback. The gateway infra annotations will hit standard next release so I'm less worried about that |
Finally getting back to this now that I have a bit more time on my hands. I don't really have much to add to this implementation-wise, so looking for any feedback. I did spend some time investigating how this would work for clusters running a Gateway API version without the |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2024-08-16. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
Please provide a description of this PR:
Related to feature request in #52692.
This PR adds support for overriding resource requests and limits on Deployments generated by native k8s Gateways, using the same annotations that are available for overriding resources on regular proxy sidecars.
For example, the following Gateway resource:
will result in a ingress gateway Deployment with the following:
as opposed to using the values from the global proxy configuration.
This allows users to vertically scale their Gateway deployments without having to resort to changing the global configuration (and thus inadvertently scaling all sidecars within the mesh).