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

🐛 [cherrypick] Set nofile ulimit for loadbalancer container #16

Merged

Conversation

jimmidyson
Copy link

What this PR does / why we need it:

Cherrypick kubernetes-sigs#7344 to fix Docker provider HAProxy LB consuming too much memory.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@jimmidyson jimmidyson changed the title [cherrypick] Set nofile ulimit for loadbalancer container 🐛 [cherrypick] Set nofile ulimit for loadbalancer container Feb 28, 2023
@dlipovetsky
Copy link
Collaborator

I like this change; it's specific to the CAPD HAproxy container. I think it hasn't been merged yet upstream because the value (65536) may be too small or too large for everyone in the community, but we can control it in this fork, if it doesn't work for us.

@dlipovetsky dlipovetsky merged commit 82837ab into d2iq/release-1.3.3 Mar 1, 2023
@dlipovetsky
Copy link
Collaborator

I described the root cause in kubernetes-sigs/kind#2954 (comment). Cluster API adopted this change in kubernetes-sigs#8246. Therefore, let's please not carry this when we move to the next upstream release branch.

takirala pushed a commit that referenced this pull request Apr 13, 2023
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.

3 participants