-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Using custom ami with containerd as container run time without docker installed not working #961
Comments
I experience similar issue. Enabling Server: Using the same provisioning scripts and |
@ashuec90 can you please try whether explicitely using They have updated version of the Line 100 in 28bd4f8
|
Ok Sure @sbocinec, so you mean to say containerd version can be a problem here ? i was using the latest containerd version . And i can see the errors related to cni plugin But for me worker nodes were joining to the eks cluster, but few pods are not coming up which requires some communication to other pods. |
According to my own experiments, yes, it might be the problem.
So I'm curious, whether in your specific case with the custom AMI using the older version might fix the issue? |
Ok Thanks sbocinec , i will try that. |
Oh, @ashuec90 please disregard all my previous comments. I found, that in my case the culprit was setting the container runtime in a wrong way - |
oh ok. So this is being set while running the bootstrapper.sh. if yes so i am passing this right. |
It did not work with containerd 1.4 version as well. |
any update on this issue?? we are using eks 1.21 and aws vpc cni 1.11, nodes are able to join the eks cluster , but the pods which are needed to connect to other pod in the cluster is not coming and and giving connection timeeout, in the /var/log/messages i could see the below error
Thanks |
Update your CNI version to 1.12+ and let us know if that doesn't resolve your issue. More info: https://github.com/aws/amazon-vpc-cni-k8s#container-runtime |
@cartermckinnon it is still not working after taking the CNI version to 1.12+(vpc cni) , also we are using with eks 1.23. it is still not working . |
Can we consider reopening this issue, as we are still seeing this error with latest ami packer code and vpc cni plugin 1.12.6 version. |
If you're able to reproduce the issue on an official build of the AMI, or with the AMI template from HEAD, feel free to add those details, but this sounds like an issue with your custom AMI. Our 1.25 and 1.26 AMI's don't have Docker installed, and this issue doesn't occur; so you may want to do a diff between those builds and your own. |
Environment:
aws eks describe-cluster --name <name> --query cluster.platformVersion
): eks.6aws eks describe-cluster --name <name> --query cluster.version
): 1.20uname -a
): 3.10.0-1160.66.1.el7Hi Team,
I am trying to use ami where docker is not present but containerd is present and containerd is being used as container run time.
So i have made a small change in the install-worker.sh file where after installing the docker https://github.com/awslabs/amazon-eks-ami/blob/v20220629/scripts/install-worker.sh#L121 if the container runtime for containerd is true i am removing the docker-ce and docker-cli as this k8s doc states https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/#remove-docker-engine
When i am using the ami to create worker node and passing the flag
--container-runtime containerd
while running the bootstrap.sh , the nodes are getting joined to eks cluster, and it goes in ready state too, but the pods which needs to connect to other pods are not coming up and goes in crashloopback, others are coming up which does not need to connect to others.I can see the below error in /var/log/messages
Can someone help me on this if i am missing something.
But When i use docker and containerd from the ami and using container runtime as containerd it is working absolutely fine.
This is the same issue i am facing but only when i am removing the docker: #911
The text was updated successfully, but these errors were encountered: