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

[Cherry-pick #2575 -> 1.28] Forward individual ports for NetLB with 5 or less service ports #2631

Open
wants to merge 1 commit into
base: release-1.28
Choose a base branch
from

Commits on Aug 12, 2024

  1. Forward individual ports for NetLB with 5 or less service ports

    GCE forwarding rules have a limit of 5 forwarded ports. In the external L4 load balancer, we currently turn a set of exposed ports into a port range from minPort to maxPort and forward all ports in the range, which needlessly forwards traffic for ports that are not supposed to be exposed.
    
    With this change, if 5 or less ports are exposed, we expose each distinct, otherwise we use the old mechanism of exposing a port range. This is similar to have the Internal Load Balancer is setup, except the ILB exposes all ports if more than 5 ports need to be exposed
    TheBeeZee committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    39e1c36 View commit details
    Browse the repository at this point in the history