-
Notifications
You must be signed in to change notification settings - Fork 153
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
nginx-ingress-controller: set memory limits to 1Gi #12411
nginx-ingress-controller: set memory limits to 1Gi #12411
Conversation
@wozniakjan I would consider unconditionally increasing the limit to 1Gi for all setups, not only local. There's only one nginx-ingress per setup, so that shouldn't be a significant bump at all. Looking at the upstream charts, they don't even recommend limits, but I think we should have some more generous limits in place: https://github.com/kubernetes/ingress-nginx/blob/f8bf5a3086fc52114040a60335e2f483e819a14c/charts/ingress-nginx/values.yaml#L319C41-L324 |
I'm ok with that, would it be acceptable for you @embik? |
Sure, fine by me given that nginx-ingress is such a crucial component and if it goes up 400MB for a test setup, it's probably worse in production setups. |
9691d71
to
5d5e4f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 459bd4e84750c0f522d26ac4c0939019b1678640
|
Signed-off-by: Jan Wozniak <wozniak.jan@gmail.com>
5d5e4f7
to
f6bd3a1
Compare
Please do add a release note since it's changing something user-facing now. |
good point! added as well as adjusted the chart render tests, ptal @embik |
LGTM label has been added. Git tree hash: d9f83712418893369ca4ccfcc6da2868d2503099
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: embik, wozniakjan, wurbanski The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
As discovered during testing: #12340 (comment), the nginx-ingress-controller can become quite memory hungry during the local KKP installation. This PR would like to propose setting the memory limit from the default 512Mi to 1Gi.
Which issue(s) this PR fixes:
n/a
What type of PR is this?
/kind bug
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: