-
Notifications
You must be signed in to change notification settings - Fork 597
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
LB not working with externalTrafficPolicy set to Local #763
Comments
The current OCCM implementation(based on OpenStack) doesn't support this feature, as per https://kubernetes.io/docs/concepts/services-networking/service/#aws-nlb-support and https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip, seems this feature implementation is different from cloud to cloud. If your purpose of using this param is to preserve the client source IP, you can use |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
The option serves two mostly unrelated concerns:
The second point, according to docs:
This feature is valuable in very large cluster running an ingress controller. In this scenario, every few nodes have the ingress proxy (nginx, envoy, etc.), so there's no gain in including them in the cloud load balancer. If we take health check hint from GCE above, I believe this can be implemented similarly in Openstack. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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/test-infra repository. |
/reopen |
@bgagnon: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
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/test-infra repository. |
@lingxiankong can you please reopen? thanks! |
/reopen |
@JrCs: Reopened this issue. In response to this:
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/test-infra repository. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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/test-infra repository. |
/reopen reopen for bug track |
@jichenjc: Reopened this issue. In response to this:
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/test-infra repository. |
/kind bug
What happened:
If we create a service of Type LoadBalancer and ### externalTrafficPolicy with value Local the LB that will be create will not work as expected.
What you expected to happen:
Only LB traffic to nodes that have the pod running.
How to reproduce it (as minimally and precisely as possible):
Create a service of type LoadBalancer with externalTrafficPolicy set to Local.
Anything else we need to know?:
When using externalTrafficPolicy with value Local, the LB that will be create must have only members (nodes) where the pod of the service we want to access is running.
In case of externalTrafficPolicy set to Cluster, the LB that will be create must have all the worker nodes as members.
Environment:
uname -a
): 4.19.66-coreosThe text was updated successfully, but these errors were encountered: