-
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
Is kind w/ podman provisioner for installing k8s v1.24.0 in a WSL instance? #2766
Comments
https://github.com/kubernetes-sigs/kind/releases/tag/v0.13.0#breaking-changes It would be helpful to know more about the environment e.g. the kind version We don't have WSL environment #1529, definitely not WSL + podman. We have community documented WSL + docker. |
Sorry -- it's kind v0.13.0 |
can you share IIRC wsl distros don't run systemd, it sounds like |
It's podman 3.4, installed from OpenSuse kubic repository (I tried also 4.1.0 compiled from sources, but w/ the same result)
|
Thanks
Continues to look very similar to #2765 |
#2765 (comment) for how to force v1.24.0 kind image to handle cgroups the same as v1.23.6 until we can resolve this bug. |
oops forgot to run |
Thanks a lot!! |
Can you also try running as superuser with kind v0.13.0
I spotted something in the node logs in #2765 and I want to see if we have something similar here. |
Here the logs |
thanks! |
With the configuration referenced above, a kind cluster w/ v1.24.0 on a WSL2 is up&running -- very cool, thanks again! |
Great! so this is the same root bug as #2765, we'll work on fixing it so this workaround isn't needed in the future, sorry about that! |
|
Seems to crash, w/ the same kubelet error message |
Hi @Unveraenderbar, sorry for the delay. I've tested an updated fix in #2767 on colima xref #2778 which should be the same root issue (kind v0.13.0 / v1.24 imagse brokene on non-systemd hosts) Please let me know if this updated image works with kind v0.13.0 Hopefully that should be it, and we'll cut another release soon with this fix. |
Hi @BenTheElder, |
I know that kind+podman cannot run rootless in a WSL instance -- but installation when running as superuser works fine for k8s v1.23.6
(using podman as runtime).
However, when trying to install k8s v1.24.0 within the same environment, the kubelets in the podman containers fail w/ errors
I suppose this is triggered by the woefully outdated WSL 5 10 kernel as it (as far as I understand it) sets up a weird mix of cgroups and cgroups2 mounts.
So, is kind + k8s v1.24.0 + podman out of reach on WSL instances, or can the behaviour shown above considered a bug?
Or am I missing a piece of configuration that would enable kind to configure cgroups for v1.24.0 the same way it does for older k8s versions?
The text was updated successfully, but these errors were encountered: