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
[liquorix kernel] error when running kind create cluster
: failed to create cluster: failed to init node with kubeadm
#2224
Comments
I think I found the issue based on this (which I'd missed during first scan):
AFAIU, the liquorix kernel that I've used for music-production, doesn't support cgroups. I suppose, changing to Ubuntu stock kernel would solve the issue. |
Lack of cgroups will definitely cause this |
0.10.0 can't deploy v1.21 clusters, with our without cgroups v2 support. See #2189 , where BenTheElder suggested waiting for 0.11.0 / testing with master. |
The k8s version is determined by kubectl version, right ? If so, can downgrading kubectl to an older version, s.a. v1.19 or even v1.18 help ? That is, assuming that I switch to the Ubuntu generic or lowlatency (stock) kernel (that has requisite cgroups support) ? |
|
@Arnavion I suspect only their client version is 1.21.0 given that they did not get a cluster up so kubectl would not be able to report the server version (though we could tell definitively in the future if the full output of This likely has nothing to do with 1.21.0 support since the 1.21 clients will be fine with 1.20 clusters (kind v0.10 default). It is probably the custom kernel. https://techpatterns.com/forums/about2796.html There's nothing we can do about that, you'll need to install a kernel that supports cgroups (like a mainline kernel) or use a different tool. /remove-kind bug |
kind create cluster
: failed to create cluster: failed to init node with kubeadmkind create cluster
: failed to create cluster: failed to init node with kubeadm
Oh right, sorry. I forgot |
#2852 (comment) we've had a similar issue filed recently, seems it's an issue with the kernel as suggested here in #2224 (comment) by bdutta |
What happened:
Got an error when running
kind create cluster
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged kind-control-plane kubeadm init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1
Command Output: I0429 15:20:52.212263 141 initconfiguration.go:201] loading configuration from "/kind/kubeadm.conf"
What you expected to happen:
Expected successful cluster creation.
How to reproduce it (as minimally and precisely as possible):
Not sure if this'd help reproduce in all environments, but here is what I did:
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.10.0/kind-linux-amd64 chmod +x ./kind mv ./kind $HOME/go/src/
Anything else we need to know?:
Full output available here - https://pastebin.com/4ZReTRCC
Environment:
Linux on bare-metal (Intel i5-8400 w/ 16GB DDR4)
kind version
): kind v0.10.0 go1.13.8 linux/amd64kubectl version
): 1.21.0docker info
): 20.10.6/etc/os-release
): Ubuntu MATE 20.4 w/ liquorix kernel (5.11.0-13.1-liquorix-amd64)The text was updated successfully, but these errors were encountered: