https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
f

fast-stone-77387

06/03/2022, 8:03 PM
It appears the Rancher Desktop is unable to spin up the cluster on Windows 11. Different versions are failing with different errors. one of the error line as per the logs is - wsl.exe --distribution rancher-desktop --exec /bin/sh -c if test -r /etc/rancher/k3s/k3s.yaml; then echo yes; else echo no; fi. Please find config file below.
w

witty-honey-18052

06/03/2022, 9:03 PM
I'm using rancher desktop on windows 11 and have installed every version since 1.0. Are you on WSL2?
f

fast-stone-77387

06/04/2022, 8:07 AM
Yes, I am on WSL2, should i uninstall docker desktop to setup rancher desktop?
f

flat-keyboard-41428

06/04/2022, 8:24 AM
(google translated) Yesterday I did a first installation of rancher desktop on Windows 11. It didn't work for me with the Docker Desktop for Windows active -- easy to see via the Troubleshooting tab -> Show Logs button. The installer will not rebost enough if ports are already in use. So, quit Docker Desktop for Windows and do a wsl --shutdown . Then run the installation again.
After the installation, you can also use the Docker Desktop for Windows again -- close Ranchner first
Even better: After the successful installation, I can run both desktops in parallel
C:\wslsources>kubectl --context docker-desktop get pods -A
NAMESPACE     NAME                                     READY   STATUS    RESTARTS          AGE
default       demo-hazelcast-687b567c49-8mbm2          1/1     Running   6 (8m8s ago)      5d11h
default       demo-hazelcast-687b567c49-b8bpc          1/1     Running   6 (8m8s ago)      5d11h
default       demo-hazelcast-687b567c49-clwkv          1/1     Running   6 (8m8s ago)      5d11h
default       demo-hazelcast-687b567c49-lfhcz          1/1     Running   6 (8m8s ago)      5d11h
kube-system   coredns-6d4b75cb6d-mnxtf                 1/1     Running   9 (8m8s ago)      8d
kube-system   coredns-6d4b75cb6d-wtz42                 1/1     Running   9 (8m8s ago)      8d
kube-system   etcd-docker-desktop                      1/1     Running   9 (8m8s ago)      8d
kube-system   kube-apiserver-docker-desktop            1/1     Running   9 (8m8s ago)      8d
kube-system   kube-controller-manager-docker-desktop   1/1     Running   9 (8m8s ago)      8d
kube-system   kube-proxy-vlv5m                         1/1     Running   9 (8m8s ago)      8d
kube-system   kube-scheduler-docker-desktop            1/1     Running   18 (8m8s ago)     8d
kube-system   storage-provisioner                      1/1     Running   29 (8m8s ago)     8d
kube-system   vpnkit-controller                        1/1     Running   536 (7m34s ago)   8d
C:\wslsources>kubectl --context rancher-desktop get pods -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS      AGE
kube-system   helm-install-traefik-crd-fqx9w            0/1     Completed   0             16h
kube-system   helm-install-traefik-97cmv                0/1     Completed   1             16h
kube-system   coredns-d76bd69b-lscl2                    1/1     Running     1 (89m ago)   16h
kube-system   traefik-df4ff85d6-gd292                   1/1     Running     1 (89m ago)   16h
kube-system   metrics-server-7cd5fcb6b7-9d7gp           1/1     Running     2 (89m ago)   16h
kube-system   local-path-provisioner-6c79684f77-5ql7d   1/1     Running     2 (89m ago)   16h
kube-system   svclb-traefik-6h2mn                       2/2     Running     2 (89m ago)   16h
f

fast-stone-77387

06/04/2022, 8:52 AM
It did not installed even after uninstalling docker desktop. It got installed after doing a factory reset
and rebooting a couple of times
335 Views