-
Notifications
You must be signed in to change notification settings - Fork 26
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
no active endpoints returns when create a ipv6 loxilb in Local externalTrafficPolicy #212
Comments
If confirm this is a bug. I think I can try to fix it. I think we can get the node name from the pod spec, then get the ipv6 address from the pod. |
It can potentially be a bug. You can try the fix you mentioned and send a pull-request if it works. In the meantime, we will try to triage from our end as well. |
gh-212 Minor fixes for dual-stack support
loxilb-io/kube-loxilb#212 added cicd for dual-stack
Was able to reproduce the issue. There were some minor issues which were fixed. I tested the changes with a similar yaml config as provided in the problem description. Kindly make sure that you can find dual-stack addresses in -
Then, depending on the |
gh-212 Minor fixes for dual-stack NAT64 support
Hi @TrekkieCoder , Thanks so much for your quick action.
|
@celiawa Can you also provide the following :
|
gh-212 Minor fixes for dual-stack
Nonetheless, the test was done on a ipv6 only nodeIP so further fixes were needed. Request to double check with latest kube-loxilb image again. |
Hi @TrekkieCoder , we have two kind of cluster, both are dual stack. But one without hostIPs in the pod status spec. And the lb address for the ipv6 svc couldn't be assigned.
The other with hostIPs which includes the Node ipv6 address, then the lb ipv6 address could be assigned.
I'm currently not sure what configuration makes the difference. |
From this kubernetes/enhancements#2681, the field status.hostIPs added for Pod was first introduced in k8s 1.28 and GA in 1.30. The test that had no ipv6 lb address assigned is on 1.27. |
Thank for quick confirmation @celiawa. Will try and check if it can be supported in k8s < 1.28 by some other means. |
Thanks @TrekkieCoder. Do you have any idea why the llb are not in ip address format, but in the format like llb-10.10.10.24 or llb-2001-1b70-820d-2227-0-aff-fe78-af9.
|
Yes, kube-proxy (in IPVS mode) adds IPs from externalIPs and status.loadBalancer to the kube-ipvs0 interface and it creates problems especially when using loxilb fullnat mode. The solution was to use the external-ip in "host/domain" format and not in "IP address" format which prevents this behavior. |
Problem description:
We setup up the external mode loxilb. Version: v0.9.7
When we create a service with below manifest. The externalIP always stuck in pending.
kube-loxi log:
In this code line, it trys to get the node ipv6 address from pod.status.hostip. But pod.status.hostIP generally returns the IPv4 address of the node where the pod is running, even in a dual-stack or IPv6 environment.
Our environment is dual-stack, the pod.status.hostip is ipv4 address.
Could you please take a look. Thanks.
The text was updated successfully, but these errors were encountered: