-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kind doesn't work on btrfs #1416
Comments
thanks for sharing the logs. from the docker info in the logs I see that you're on btfs. If you can, please attempt with the following config. if it works we'll try to figure out how to include this automatically when appropriate. kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraMounts:
- hostPath: /dev/mapper
containerPath: /dev/mapper (place this in a file and pass the file path with |
Hey @BenTheElder, sorry for the delay, I had one of those weeks. Adding |
I had this same issue on my laptop (archlinux; btrfs; using devicemapper). Your workaround worked @BenTheElder. |
kind create cluster
fails with kind 0.7.0
@BenTheElder your workaround from #1416 (comment) worked for me as well - Gentoo + btrfs |
going forward this workaround should be automatically employed when running from HEAD |
There seems to be a bug with this (introduced in #1464). In this commit you added if mountDevMapper() {
args = append(args, "--volume", "/dev/mapper", "/dev/mapper")
} But I think this has to be if mountDevMapper() {
args = append(args, "--volume", "/dev/mapper:/dev/mapper")
} Without this I get
Should I make a seperate bug report for this? running:
To recreate:
or
|
thanks for reporting! |
What happened:
After installing
kind
, I ran a basiccreate cluster
, which failed to start the control plane:What you expected to happen:
I expected a cluster to be created.
How to reproduce it (as minimally and precisely as possible):
Run
kind create cluster
.Anything else we need to know?:
Using
-v 1
, I'm able to see that the error is related to a failed health check:Output is truncated for brevity
docker logs kind-control-plane
doesn't seem to provide any useful information:Full debug logs from
kind export logs
: kind-export-logs.tar.gzEnvironment:
kind version
):0.7.0
kubectl version
):v1.17.4
docker info
):9.03.7-ce
/etc/os-release
):Arch Linux
5.5.9-arch1-2
The text was updated successfully, but these errors were encountered: