-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
kubctl can't conncet to kind cluster with wsl2 #3165
Comments
the forwarding is not working there |
@misaya98 can you check if this is the same known issue with WSL reported here ? |
Starting to look like WSL2 v1.2.0.0 brought the issue back - facing the same here after the update. |
yes , it was caused by wsl part |
/close Thanks |
@aojea: 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. |
I'm facing the same issue with wsl version 1.2 and the latest kind version. I know folks have mentioned that reverting to v1.0.3 of wsl fixes the issue for them. Are there clearly defined steps in order to revert to the wsl version? |
Sorry, Currently we only have WSL2 documented by user contribution: https://kind.sigs.k8s.io/docs/user/using-wsl2/ |
Thanks for the response Ben. I'll take a look and determine the way to lower the wsl2 version. I know for sure KIND has worked fine for me on my windows setup using docker-desktop. |
For those who come across this issue as of today, run the following on an admin shell: WSL2 v1.2.3/1.2.4 (pre-release) have the issue above fixed. |
Thank you very much @igordcard! #3180 is pinned and links back to your comment |
@BenTheElder thanks for looking into this. Unfortunately I cannot run I will try to fix this and, if I can't, I'll wait for the next WSL release version. I'll update the issue as soon as I can. |
@zapho maybe you could downgrade instead? I think that would be: wsl --update --rollback |
Environment:
wsl2 ubuntu20.04
wsl version 1.2.0.0
kind version: (use
kind version
): kind version 0.18.0Runtime info: (use
docker info
orpodman info
): Docker version 20.10.24, build 297e128OS (e.g. from
/etc/os-release
): ubuntu20.04.4 LTSKubernetes version: (use
kubectl version
): Client Version: v1.26.3 Kustomize Version: v4.5.7Any proxies or other special environment settings?: no
The text was updated successfully, but these errors were encountered: