LoginSignup
gabakugik
@gabakugik (GABAKU GIK)

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

kindがうまく起動してくれない

解決したいこと

NAME="Ubuntu"
VERSION_ID="22.04"
WSL2でkindでエラーになるのをなんとかしたい。
よろしくお願いします。

発生している問題・エラー

Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.27.3) 🖼
 ✓ Preparing nodes 📦
 ✗ Writing configuration 📜
Deleted nodes: ["kind-control-plane"]
ERROR: failed to create cluster: failed to generate kubeadm config content: failed to get kubernetes version from node: failed to get file: command "docker exec --privileged kind-control-plane cat /kind/version" failed with error: exit status 1
Command Output: Error response from daemon: container b909e9cdb991e56c0e8da48d8fae094d9614a1fa611e596cb65238f7c163ba93 is not running

やったこと、ためしたこと

wsl.exe --shutdown
再起動を試しました。
docker version
Client: Docker Engine - Community
 Version:           26.1.2
 API version:       1.45
 Go version:        go1.21.10
 Git commit:        211e74b
 Built:             Wed May  8 13:59:59 2024
 OS/Arch:           linux/amd64
 Context:           default
kind version
kind v0.20.0 go1.20.4 linux/amd64
kubectl version --client
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3

参考にしたサイト

https://techblog.ap-com.co.jp/entry/2024/04/23/120021#kubectl-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB

https://zenn.dev/yukiko_bass/articles/baf625d8d0f89f
0

1Answer

Comments

Your answer might help someone💌