-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Podman on WSL2 fails kind create cluster as root and not as root #2452
Comments
I just attempted the same thing and can see the same problem. sudo kind create cluster --retain
sudo kind export logs Looking at
|
There have been some recent issues with WSL2 + kind and the custom WSL2 init that should be patched soon and would apply to docker or podman #2390, the last comment in this thread appears to be that issue. FWIW though I would recommend trying docker in a WSL2 VM w/o docker desktop. |
Having the same problem, is there any solution so far? |
Has there been any progress on getting podman to work with kind? |
It generally works, it's unclear what this specific issue is. We've had some compatibility issues with podman changes in the past but as far as I know all current issues are fixed. I still recommend docker for now, it's just a more stable target to integrate against and kind can support things like restarts properly. |
What happened:
Attempting to replace Docker Desktop for Windows on WSL2 with Podman leads to KIND failures that I am unable to figure out how to work around at the moment.
Running KIND with a non-root account leads to the following errors:
wsl2_podman_kind.log
Running KIND as root leads to different error and times out much later on, but seems to prove that it doesn't appear to be an actual problem with cgroup v1/v2.
What you expected to happen:
Kind to create a cluster successfully on WSL using Podman
How to reproduce it (as minimally and precisely as possible):
Start with fresh Ubuntu 20.04 WSL2 image:
GO111MODULE="on" go get sigs.k8s.io/[email protected]
Anything else we need to know?:
Environment:
kind version
):kind v0.11.1 go1.15.15 linux/amd64
kubectl version
): not installedpodman info
): 3.2.3/etc/os-release
): Ubuntu 20.04.3 LTS (kernel: 5.10.16.3-microsoft-standard-WSL2)The text was updated successfully, but these errors were encountered: