-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
enable reuse port by default #2466
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rajatjindal Assign the PR to them by writing 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 |
Codecov Report
@@ Coverage Diff @@
## master #2466 +/- ##
==========================================
- Coverage 41.75% 41.62% -0.13%
==========================================
Files 74 74
Lines 5291 5292 +1
==========================================
- Hits 2209 2203 -6
- Misses 2786 2792 +6
- Partials 296 297 +1
Continue to review full report at Codecov.
|
@rajatjindal before a change in this default we need to make sure do not introduce this issue again #1905 |
Just to make sure, is the e2e test supposed to check whether "reuse" is present in the Nginx conf or do we aim to have a non regression test for https://trac.nginx.org/nginx/ticket/1300 ? |
Not sure how we can do that. I am not sure this PR should be merged. The user must be aware of this potential issue and turn on the feature with the configmap |
I see. The configmap is always a good choice. But this was a bug in Nginx and this bug is now fixed, so I am not sure what justifies the change in default (from reuse to noreuse) now. That being said, I still think we should default to noreuse because "it feels" the safest. |
Closing. The side effect of this setting is too high to change the default. This can enabled in the configuration configmap |
thanks for the feedback guys, it totally make sense. |
What this PR does / why we need it:
This enables the reuse port by default as https://trac.nginx.org/nginx/ticket/1300 seems to be fixed.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #N/A
Special notes for your reviewer:
I tested it using steps on the ticket with ingress controller version 0.14.0, with nginx/1.13.12 and it seems to be working fine.