-
Notifications
You must be signed in to change notification settings - Fork 427
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
Cannot create vcluster neither inside k3d nor inside kind on Linux #264
Comments
@pgagarinov are you running your container runtime in a rootless configuration? |
@matskiv no, both docker and k3d run as root. |
@matskiv After reading https://golangissues.com/issues/931164 I tried to create vcluster using other distributions. Both k0s and k8s work, only k3s distro fails. |
@pgagarinov Thanks for trying different options, it helped to narrow down the issue. The problem might have been fixed in this k3s PR - k3s-io/k3s#4086
and then passing this file to helm command or |
@matskiv I tried both images - nothing helps, same error (I checked that the correct image is pulled though). |
@pgagarinov Thank you for testing it. It is certainly disappointing to hear that it was not fixed :/ |
@matskiv sure, I'll use k0s for now. I use docker, Manjaro Linux with kernel 5.10, no special configuration.
|
+1 . My main cluster is a k3s (tried multiple versions) where I try to install my vcluster (k3s distro).
Error:
Work:
Notice that the only difference is the Thank you EDITED: |
@antonioberben does it work with the officially released version v1.22.5+k3s1 instead of the release candidate version v1.22.2-rc1+k3s2? |
@FabianKramm , it doesn't. I tried several versions. I cannot remember which ones. But I started from the last one backwards. I tried 3 or 4 version and then I went directly to the one it worked for me: |
Thanks a lot @antonioberben! @matskiv |
I created an issue for this in the k3s repo #4873 to track this |
We'll remove support for k3s v1.22 in the next vcluster version v0.5.1 until this is fixed or a workaround is available and recommend to meanwhile use v1.21 k3s (which is then used automatically by vcluster cli) or to use k0s or vanilla k8s v1.22 distros instead |
@antonioberben @pgagarinov this should be fixed with the new |
I'm closing this, feel free to reopen if it's still an issue |
vcluster pod fails with the following error:
time="2021-12-24T17:56:38.949209082Z" level=fatal msg="failed to evacuate root cgroup: mkdir /sys/fs/cgroup/init: read-only file system"
❯ vcluster --version vcluster version 0.5.0-beta.0
❯ kind --version kind version 0.11.1
❯ k3d --version k3d version v5.2.2 k3s version v1.21.7-k3s1 (default)
The text was updated successfully, but these errors were encountered: