-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Calico with plain containerd on Windows does not work #4334
Comments
Thanks @jnummelin for the logs. I seems the log contains information for pod deletion (not pod creation). I am wondering if you can rerun your test and attach entire kubelet logs from very beginning? |
in the log third line it says: |
@song-jiang this log is from the start of everything (containerd, kubelet etc.) |
Not sure what is going on but from the log there is no process for sandbox creation. Calico IPAM cni is not being called and Calico CNI is called for pod deletion. |
@song-jiang is there any more info I could dig out from the env? I can bump up the log levels if needed too. This feels it could be related: containerd/containerd#4851 Kubelet is started with proper CNI flags:
The CNI config is identical to neighbouring node with Docker which works perfectly:
|
@jnummelin I don't think I would need more information from your cluster. It looks like there is no quick fix for containerd support. Thanks! |
@song-jiang so you confirm that this is the same containerd issue I linked? |
I would think so. |
@jnummelin We've added containerd support to v3.19.0 🙂 https://docs.projectcalico.org/release-notes/#windows-data-plane-support-for-containerd Please try it out with k0s again and let us know if you run into any more issues, thanks! |
@lmm that's good news. I'll take it on our todo list to try it out |
I'm trying to setup Calico on Windows with plain containerd CRI. (no Docker on top) Calico fails to configure networking on the pods.
Expected Behavior
Calico should be able to create networks for plain containerd based pods
Current Behavior
Calico and CNI seems to be ready:
But pod creation fails:
Containerd is configured to looks for CNI where Calico installer script puts it in:
Kubelet started as:
Calico node logs:
Attached longer log from kubelet with
--v=5
log level around the time a pod is submitted for the node.calico.log
Possible Solution
N/A
Steps to Reproduce (for bugs)
(mostly just dropping the docker image build etc stuff which are unneeded for containerd)
Your Environment
https://github.com/k0sproject/k0s
The text was updated successfully, but these errors were encountered: