[BUG] In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d-clustername-serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found #1433
In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d clustername serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found
apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
name: gpu-test
image: qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04
ports:
- port: 8080:80 # same as `--port '8080:80@loadbalancer'`
nodeFilters:
- loadbalancer
options:
runtime:
gpuRequest: all
volumes: # repeatable flags are represented as YAML lists
- volume: C:\Users\xxx\Desktop\test\k3d\data\k3s:/var/lib/rancher/k3s
nodeFilters:
- server:0
- agent:*
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6a3d4a0b7354 ghcr.io/k3d-io/k3d-tools:5.6.3 "/app/k3d-tools noop" 25 minutes ago Up 25 minutes k3d-gputest-tools
92822d0dc54d ghcr.io/k3d-io/k3d-proxy:5.6.3 "/bin/sh -c nginx-pr…" 25 minutes ago Created k3d-gputest-serverlb
01f674a46d0f qingfengfeng/k3d-gpu-support:v1.28.8-k3s1-cuda-12.4.1-k8s-device-plugin-v0.15.0-rc.2-base-ubuntu22.04 "/bin/k3d-entrypoint…" 25 minutes ago Up 25 minutes k3d-gputest-server-0
What did you expect to happen
Start the cluster normally and map /var/lib/ranger/k3s to the specified folder
What did you do
How was the cluster created?
k3d cluster create gputest -c .\config\k3d-config.yml
What did you do afterwards?
In the WSL2 environment, when mapping all files to the local environment, cluster creation gets stuck, the k3d clustername serverlb container fails to start, and the log shows that the '/etc/confd/values. yaml' file cannot be found
What did you expect to happen
Start the cluster normally and map
/var/lib/ranger/k3s
to the specified folderScreenshots or terminal output
CMD output
k3d-gputest-serverlb log
Which OS & Architecture
k3d runtime-info
Which version of
k3d
k3d version
Which version of docker
docker version
anddocker info
Server: Docker Desktop 4.28.0 (139021) Engine: Version: 25.0.3 API version: 1.44 (minimum version 1.24) Go version: go1.21.6 Git commit: f417435 Built: Tue Feb 6 21:14:25 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.28 GitCommit: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0