-
Notifications
You must be signed in to change notification settings - Fork 306
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
Make the subset sizes configurable for L4 NetLB NEG. #2817
base: master
Are you sure you want to change the base?
Make the subset sizes configurable for L4 NetLB NEG. #2817
Conversation
Add `--l4-netlb-local-subset-size` and `--l4-netlb-local-subset-size` flags that allow to configure the subset sizes for the L4 NetLB endpoint calculators.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mmamczur 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 |
@@ -35,10 +35,6 @@ const ( | |||
maxSubsetSizeLocal = 250 | |||
// Max number of subsets in ExternalTrafficPolicy:Cluster, which is the default mode. | |||
maxSubsetSizeDefault = 25 | |||
// Max number of subsets for NetLB in ExternalTrafficPolicy:Local |
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.
instead of removing completely, should there be a default if the flags are not provided?
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.
the flags have a default baked in. Maybe it would be nice to use these constants used in the flag def but I'm guessing it will make a circular dep then?
/retest weird faiure, locally tests seem to work bu then the failure looks like could potentially be caused by flags change? |
/retest |
PR needs rebase. 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. |
Add
--l4-netlb-local-subset-size
and--l4-netlb-local-subset-size
flags that allow to configure the subset sizes for the L4 NetLB endpoint calculators.