-
Notifications
You must be signed in to change notification settings - Fork 375
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
Implement KEP-1860 in AntreaProxy: Make Kubernetes aware of the LoadBalancer behavior #5342
Comments
@tnqn @antoninbas Could you help give some suggestions? Thanks a lot. |
I think we have 2 options: Option 1: Option 2: leverage the fact that IMO, either option is acceptable from a usability and backwards-compatibility aspect. I have a slight preference for Option 1, as it is a bit simpler, but let's hear what @tnqn thinks. The ability of Option 2 to override |
Option 1 makes sense to me. It's easy to explain and understand. The Option 2 may have a few issues:
|
@hongliangl sounds like the consensus is for option 1 |
Thanks a lot! Option 1 is easy to understand and �code. |
Describe what you are trying to do
In Kubernetes 1.29, a new field
LoadBalancerIPMode
is added to inLoadBalancerIngress
. This is for KEP-1860. This field is used to specify how the load-balancer IP behaves of a Service. According to the explanation, the value can be:LoadBalancerIPModeVIP
, behaves the same as current implementation.LoadBalancerIPModeProxy
, the related Service traffic is sent to external loadBalancer.LoadBalancerIPModeVIP
.Currently, we have an option
antreaProxy.proxyLoadBalancerIPs
which is used to decide whether to process LoadBalancer traffic on K8s Node locally or send the traffic to external loadBalancer. This option take affects on all existing LoadBalancer Services. By introducing KEP-1860 in AntreaProxy, users can have more fine-grained control over the LoadBalancer behavior.Dependencies:
Cases:
proxyLoadBalancerIPs
: true, ServiceLoadBalancerIPMode
:LoadBalancerIPModeVIP
, traffic is processed in AntreaProxy.proxyLoadBalancerIPs
: true, ServiceLoadBalancerIPMode
:LoadBalancerIPModeProxy
?proxyLoadBalancerIPs
: false, ServiceLoadBalancerIPMode
:LoadBalancerIPModeVIP
, ?proxyLoadBalancerIPs
: false, ServiceLoadBalancerIPMode
:LoadBalancerIPModeProxy
, traffic is processed in external loadBalancer.The text was updated successfully, but these errors were encountered: