Closed sky92zwq closed 2 months ago
It seems this require some magic with docker https://github.com/microsoft/WSL/issues/4983#issuecomment-1560668422
What version of cloud provider kind are you using?
It seems this require some magic with docker microsoft/WSL#4983 (comment)
What version of cloud provider kind are you using?
I use go install sigs.k8s.io/cloud-provider-kind@latest
, maybe v0.3.0,(I don't find the command of cloud-provider-kind about version)
And I tried the magic, but not success until now.
my ip add
shows like:
inet 172.21.225.217/20 brd 172.21.239.255 scope global eth0
the address and the external-ip are Not in the same network segment.
And I found I can't ping the external-ip 172.18.0.3
in WSL2
And I get into the container kindccm-5WRHPD52BKYNVNTNHIULBLNWIR4DMNZ4WECIGO2S
, the 172.18.0.3
can be accessed.
should be fixed by https://github.com/kubernetes-sigs/cloud-provider-kind/pull/101
Hello, does anyone know how to forward external IP from WSL2 to Windows? I can curl the IP inside WSL2, but because it is on separate network, I can't access it from Windows. Weirdly, I believe I was able to access them right away in the past
env: wsl2, ubuntu22.04
I can see the external-ip, but it will be hang when curl the ip.
% curl 172.18.0.3:80
And I deploy the example from this. It is same.