-
Notifications
You must be signed in to change notification settings - Fork 285
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
Kubernetes fails to start on Windows 10 (corporate envrionment with proxy). #2695
Comments
Looking through the settings I also see and Error in the WSL preferences, which may be unrelated: |
I use wsl-vpnkit to provide network connectivity to the WSL, this might help as well |
That happens to me too. |
Potentially related to #905 -- checking. |
In my case, I mounted
|
A little bit confused @mon-jai ? How did you do this? Did you just mount %USERPROFILE% to ~? Not sure that really makes sense to me. I'm also running into the same issue. |
@maczamora Something like this. WINDOWS_USER_PROFILE="$(wslpath "$(wslvar USERPROFILE)")"
HOME_DICECTORY="/home/$(whoami)"
# https://askubuntu.com/a/86891
cp -vra ~/. $WINDOWS_USER_PROFILE
sudo rm -r $HOME_DICECTORY
sudo ln -s $WINDOWS_USER_PROFILE $HOME_DICECTORY
sudo chown $(whoami):$(whoami) -R $HOME_DICECTORY I did that so that I could access my files and projects with |
Same happend to me. I just exited rancher desktop, then deleted /home/user/.kube/config in wsl and started rancher desktop again. Now kubectl was working again. |
Actual Behavior
Kubernetes fails to start.
Steps to Reproduce
Hard, because it depends on user vpn setup.
Result
Error Starting Kubernetes
TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
Context:
Waiting for nodes
recent logfile:
maybe this is also helpful, I found this right above the log that was cut short in the snippet above:
Expected Behavior
Kubernetes starts.
Additional Information
Windows
NO_PROXY
environment variable:kubernetes.docker.internal,127.0.0.1,localhost,172.18.108.0/24,10.96.0.0/12,192.168.59.0/24,192.168.39.0/24,192.168.49.0/24,.*github.com,0.0.0.0,10.0.0.0/8,cattle-system.svc,.svc,.cluster.local
Rancher Desktop Version
Rancher Desktop 1.5.0 - win32 (x64)
Rancher Desktop K8s Version
1.24.3
Which container engine are you using?
containerd (nerdctl)
What operating system are you using?
Windows
Operating System / Build Version
Windows 10 21H2 (Build 19044.1826)
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
No response
Windows User Only
VPN Cisco AnyConnect
The text was updated successfully, but these errors were encountered: