-
Notifications
You must be signed in to change notification settings - Fork 53
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
external-ip of loadbalancer service in wsl2 is pending #189
Comments
this is weird
can you see if the loadbalancer containerd (kindccm-...) has restarted or something? |
The kindccm container has not restarted Its log is only continuously outputting
|
and I try to run cloud-provider-kind in windows rather than wsl2 the ouput of cloud-provider-kind is
the log of kindccm is only continuously outputting
|
At first, I suspected that the issue was related to the mirrored network configuration in WSL. However, I completely retried the process on Windows, creating the cluster with Kind, setting up the service resource, and starting cloud-provider-kind directly on Windows. Surprisingly, I encountered the same problem. This is quite weird. |
the key is in understanding what this error means
are you running cloud provider kind with verbosity 7? if not, try with that and paste the logs around that log error I pasted above |
thank you for the tip, I try to run cloud-provider-kind.exe -v 7 in windows, and I get
|
it seems is not able to obtain the ip of the container, try
|
I get this content
|
are you running try also runing with the flag |
Thank you so much! I forgot to enable privileged mode in Windows and WSL2. I am using Docker Desktop shared between WSL2 and Windows, and I’ve tried both NAT and mirrored WSL2 network configurations. Notably:
Additionally, I also conducted tests on both macOS and Windows. In summary:
|
It will be nice if you can update the README of the project with this "known issues" so others will benefit of this investigation. |
Is there anything left here? I'm not familiar with windows platforms so I can't say if this is WAI |
Sorry for the late reply. I was away for a few days due to some matters. I plan to try again in my Windows environment tonight. Also, I’d be happy to add the known issues to the README file. |
I am using Ubuntu 22.04 on WSL2 and Docker Desktop on Windows, and I created a cluster using Kind within WSL2.
And the networkmode is mirrored, which means wsl2 and windows have the same ip.
Then I created a service in the cluster.
And I run cloud-provider-kind in WSL2, but I get
and the status of the service is
the log of container kindccm is
The text was updated successfully, but these errors were encountered: