-
Notifications
You must be signed in to change notification settings - Fork 390
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
antrea-eks-node-init and containerd #3471
Labels
area/provider/aws
Issues or PRs related to aws provider.
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
Comments
Any updates on this ? |
I'll take a look at this. I assume it's just a matter of changing the |
antoninbas
added a commit
to antoninbas/antrea
that referenced
this issue
May 27, 2022
Containerd is available as an alternative to docker since EKS v1.21. Starting with EKS v1.23, containerd will also be the default container runtime. Currently antrea-eks-node-init.yml assumes that docker is always the container runtime, which means that Antrea cannot be run on EKS clusters using containerd. We fix this by adding support for containerd. We also make a couple of improvements to the startup script in antrea-eks-node-init.yml, to ensuire that it can be run again if the contents of the script change, which is useful for testing and may also be useful to roll out patches. Finally, we update our EKS CI to test with containerd instead of docker, since containerd will be the default soon. Fixes antrea-io#3471 Signed-off-by: Antonin Bas <abas@vmware.com>
@tnqn I submitted a patch for this, would be good to include it in v1.7 if possible |
antoninbas
added a commit
to antoninbas/antrea
that referenced
this issue
May 31, 2022
Containerd is available as an alternative to docker since EKS v1.21. Starting with EKS v1.23, containerd will also be the default container runtime. Currently antrea-eks-node-init.yml assumes that docker is always the container runtime, which means that Antrea cannot be run on EKS clusters using containerd. We fix this by adding support for containerd. We also make a couple of improvements to the startup script in antrea-eks-node-init.yml, to ensuire that it can be run again if the contents of the script change, which is useful for testing and may also be useful to roll out patches. Finally, we update our EKS CI to test with containerd instead of docker, since containerd will be the default soon. Fixes antrea-io#3471 Signed-off-by: Antonin Bas <abas@vmware.com>
antoninbas
added a commit
to antoninbas/antrea
that referenced
this issue
May 31, 2022
Containerd is available as an alternative to docker since EKS v1.21. Starting with EKS v1.23, containerd will also be the default container runtime. Currently antrea-eks-node-init.yml assumes that docker is always the container runtime, which means that Antrea cannot be run on EKS clusters using containerd. We fix this by adding support for containerd. We also make a couple of improvements to the startup script in antrea-eks-node-init.yml, to ensure that it can be run again if the contents of the script change, which is useful for testing and may also be useful to roll out patches. Finally, we update our EKS CI to test with containerd instead of docker, since containerd will be the default soon. Fixes antrea-io#3471 Signed-off-by: Antonin Bas <abas@vmware.com>
antoninbas
added a commit
that referenced
this issue
May 31, 2022
Containerd is available as an alternative to docker since EKS v1.21. Starting with EKS v1.23, containerd will also be the default container runtime. Currently antrea-eks-node-init.yml assumes that docker is always the container runtime, which means that Antrea cannot be run on EKS clusters using containerd. We fix this by adding support for containerd. We also make a couple of improvements to the startup script in antrea-eks-node-init.yml, to ensure that it can be run again if the contents of the script change, which is useful for testing and may also be useful to roll out patches. Finally, we update our EKS CI to test with containerd instead of docker, since containerd will be the default soon. Fixes #3471 Signed-off-by: Antonin Bas <abas@vmware.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/provider/aws
Issues or PRs related to aws provider.
kind/bug
Categorizes issue or PR as related to a bug.
Describe the bug
Apparently antrea-eks-node-init does not support containerd. It would be good if it supports since docker is deprecatd for k8s container runtime.
To Reproduce
Read eksctl documentation on how to create the cluster using the containerd runtime and try to follow antrea eks guide.
Expected
The containers should be restarted to use the antrea netpol.
Actual behavior
antrea-eks-node-init container log shows:
Antrea controller will have this log:
Versions:
kubectl version
). v1.21.5-eks-bc4871bAdditional context
Antrea will only work for new nodes/pods. I have to replace the old nodes so it will work to the whole cluster.
Maybe this is related to #3446.
The text was updated successfully, but these errors were encountered: