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

Make the subset sizes configurable for L4 NetLB NEG. #2817

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmamczur
Copy link
Contributor

@mmamczur mmamczur commented Mar 3, 2025

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.

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.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 3, 2025
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from aojea and sawsa307 March 3, 2025 20:13
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 3, 2025
@@ -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
Copy link
Member

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?

Copy link
Contributor Author

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?

@mmamczur
Copy link
Contributor Author

mmamczur commented Mar 3, 2025

/retest

weird faiure, locally tests seem to work bu then the failure looks like could potentially be caused by flags change?

@swetharepakula
Copy link
Member

/retest

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 5, 2025
@k8s-ci-robot
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants