kind
cluster creation fails with WSL2
#5604
Labels
kind/bug
Something isn't working
parity/project
Feature is available from other projects
platform/windows
runtime/moby
triage/confirmed
Issue has been reproduced by dev team
Actual Behavior
I tried to create a
kind
cluster inside WSL 2 with Rancher Desktop and get the following error:Steps to Reproduce
kind
.kind create cluster --config cluster-config.yml
Here is my cluster-config.yml:
Result
I got this error: ERROR: failed to create cluster: failed to generate kubeadm config content: failed to get kubernetes version from node: file should only be one line, got 0 lines
Expected Behavior
kind
should be able to create a cluster.Additional Information
I took a look at
kind
repository and found a similar issue: kubernetes-sigs/kind#3010. It seems thekind
folks redirected the original poster here. I had the exact problem so figures I should post it here first.Rancher Desktop Version
1.10.0
Rancher Desktop K8s Version
1.28.1
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Window 11 Pro 22H2. WSL 2 Ubuntu 22.04.2
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: