-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Increasing maximum number of ports allowed in EndpointSlice #99795
Increasing maximum number of ports allowed in EndpointSlice #99795
Conversation
@@ -40,7 +40,7 @@ var ( | |||
) | |||
maxTopologyLabels = 16 | |||
maxAddresses = 100 | |||
maxPorts = 100 | |||
maxPorts = 16000 |
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.
Despite the small diff, there is test coverage for this, it just uses this variable.
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.
If we are doing base-10 maybe 20K makes more sense?
…On Thu, Mar 4, 2021 at 9:56 AM Rob Scott ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In pkg/apis/discovery/validation/validation.go
<#99795 (comment)>
:
> @@ -40,7 +40,7 @@ var (
)
maxTopologyLabels = 16
maxAddresses = 100
- maxPorts = 100
+ maxPorts = 16000
https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/discovery/validation/validation_test.go#L269
and
https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/discovery/validation/validation_test.go#L168
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#99795 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKWAVGJLMBY7K4HUDVWQE3TB7CT5ANCNFSM4YTWUPNQ>
.
|
e420955
to
8bd6b5d
Compare
@thockin makes sense, updated to 20k. |
Is there a followup bug filed to fix the slice controllers to consider ports? |
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: robscott, thockin 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 |
@thockin I removed the |
Pls check if this change should be mentioned in the |
…795-release-1.18 Automated cherry pick of #99795: Increasing maximum number of ports allowed in EndpointSlice
…795-release-1.20 Automated cherry pick of #99795: Increasing maximum number of ports allowed in EndpointSlice
…795-release-1.19 Automated cherry pick of #99795: Increasing maximum number of ports allowed in EndpointSlice
What type of PR is this?
/kind bug
/kind cleanup
What this PR does / why we need it:
Increases maximum number of ports allowed in EndpointSlices from 100 to 20,000.
Which issue(s) this PR fixes:
Helps with #99382
Does this PR introduce a user-facing change?
/sig network
/priority important-soon
/triage accepted
/cc @freehan
/assign @thockin