-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
KIC: crio runtime doesn't start with podman driver, but does start with docker driver #10649
Comments
Could be related to the cgroups handling, from the latest kindbase:
UPDATE: Tried But it seems to have the same issue, so maybe it is not the entrypoint... |
Addition: it works fine with podman2, so it is yet another regression with podman3. Unfortunately podman 2.2.1 is no longer available, only podman 3.0.1 is provided... |
There is some fundamental difference in how the kubelet behaves... The old podman is showing like: GET https://control-plane.minikube.internal:8443/healthz?timeout=10s Response Status: 500 Internal Server Error in 4 milliseconds But the new podman is instead: GET https://control-plane.minikube.internal:8443/healthz?timeout=10s Response Status: in 0 milliseconds And eventually it just times out. round_trippers.go will need debugging. There are no differences, before the
But the log is the same for both: |
Getting a different error now:
Apparently there can be leftovers
|
The current workaround is to change from systemd to cgroups in the crio.conf, that makes it start again.
And then a
Note that the host podman was running systemd, and kubernetes was configured with systemd. |
I am not sure if related but for example in this PR
|
Seems to be working OK with podman 3.1.0, so everyone is encouraged to upgrade (or downgrade) https://podman.io/blogs/2021/03/02/podman-support-for-older-distros.html
That is, use either podman 2.2.1 or podman 3.1.0 - but not 2.0 (2.1) or 3.0 versions |
docker (20.10.4)
cni.go:121] "docker" driver + crio runtime found, recommending kindnet
podman (3.0.1)
cni.go:121] "podman" driver + crio runtime found, recommending kindnet
The images are loaded successfully, but there are no signs of any containers being started.
Running containers with podman does work, so this is something specific to crio-in-podman
Note:
The text was updated successfully, but these errors were encountered: