kubernetes-sigs / kubernetes-sigs/kind

[rancher desktop bug] kind create cluster hangs on Windows at • Writing configuration 📜 ...

Open
#3,003 14 comments 0 reactions 0 assignees View on GitHub
kind/external
Dominant language
Go
Stars
15.5k
Forks
1.8k
Avg merge
1d 13h
Merged PRs (30d)
8

Description

I'm following the instructions outlined [here](https://kind.sigs.k8s.io/docs/user/using-wsl2/#accessing-a-kubernetes-service-running-in-wsl2).

I have Rancher Desktop installed:
```
$ wsl --list
Windows Subsystem for Linux Distributions:
rancher-desktop (Default)
rancher-desktop-data
```
I use the configuration from the link above:
```
$ cat cluster-config.yml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30000
hostPort: 30000
protocol: TCP
```
When trying to create a new cluster, command execution never finishes and no error is logged either:
```
$ kind create cluster --config=cluster-config.yml
Creating cluster "kind" ...
• Ensuring node image (kindest/node:v1.25.3) 🖼 ...
✓ Ensuring node image (kindest/node:v1.25.3) 🖼
• Preparing nodes 📦 ...
✓ Preparing nodes 📦
• Writing configuration 📜 ...
```
Any suggestions how to further debug the issue would be highly appreciated.

Contributor guide

Open the contributing guide

Research direction

Reproduce the hang using cluster-config.yml and the documented WSL2 setup, then run kind create cluster --config=cluster-config.yml. Start by tracing the transition after “Writing configuration” in the kind cluster-creation path and compare behavior under Rancher Desktop on Windows. Done means the command completes past that stage or reports a useful error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.