-
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
EKS bootstrap: --enable-docker-bridge is not working #715
Comments
Ack. Looking into this. |
The change is merged to the master branch. |
Thanks for the fix @ravisinha0506, I was able to confirm that this works. When can we expect a new release that contains this change? |
Hi @mrparkers, we have made few ami releases which contain this fix. Please use the latest release and let us know if any issues are found. |
Hi, Patch is available since AMI release v20210813, but it's not described in any of the release notes. |
Thanks for the new release, the newest AMIs have resolved the issue for me 👍 |
Resolving since this is fixed now. I'll make sure that we put these fixes in the release notes in the future. |
What happened:
With the release of v20210716 or newer is the bootstrap option "--enable-docker-bridge" no longer working.
The bootstrap script was changed to integrate containerd support and the restart of the docker daemon was replaces with a start of the docker daemon, but docker is enabled and running by default after the installation. Means the start command doesn't have any impact and the docker0 bridged will not be activated due to an missing restart to load the new docker daemon.json config. The code in the docker daemon.json is OK and a manual restart of the docker daemon activates the docker0 bridge. Looks like that the new bootstrap scripts was not 100% tested before it was released.
What you expected to happen:
docker0 bridge is activated and used by the docker daemon.
How to reproduce it (as minimally and precisely as possible):
Start a new EKS Node with AMI Image v20210716 or newer and use the "--enable-docker-bridge true" for the bootstrap of the node. Use "ip a s docker0" to check if the docker0 bridge was created.
Execute "systemctl restart docker" and check it again. After the restart of the service is the docker0 bridge available.
Anything else we need to know?:
You can disabled docker by default if you build the AMI images or you change the the following line L439 with a restart instead of a start.
Environment:
aws eks describe-cluster --name <name> --query cluster.platformVersion
): allaws eks describe-cluster --name <name> --query cluster.version
): alluname -a
): 5.4.129-63.229.amzn2.x86_64 Template is missing source_ami_id in the variables section #1 SMP Tue Jul 20 21:22:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linuxcat /etc/eks/release
on a node):The text was updated successfully, but these errors were encountered: