Managed node groups do not have the same capability to receive "bootstrap_extra_args" which is necessary for the flag "--enable-docker-bridge true" to fix the use of docker commands in kubernetes containers.
Creating a worker nodes using worker_group allows for this behaviour (defaults are fine)
worker_groups = [
{
# Other parameters omitted for brevity
bootstrap_extra_args = "--enable-docker-bridge true"
}
]
creating a node_group has no such option
Managed node_groups should have all the same features as self-provisioned worker_groups
I am not
This is a limitation on the node group service as currently supplied by AWS. It is not possible. If you need to set these options then you will have to stick to classic worker groups.
Reference: https://github.com/aws/containers-roadmap/issues/596
Here's a current list of what people are asking for:
https://github.com/aws/containers-roadmap/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+%5BEKS%5D+
Thank you for this information! Closing
So from workers_groups, I switched to node_groups because they are easier to manage. Now I will have to switch back to node_groups since bootstrapping with user_data is not supported yet and we need lots of customization for security... :trollface: :cry:
Most helpful comment
This is a limitation on the node group service as currently supplied by AWS. It is not possible. If you need to set these options then you will have to stick to classic worker groups.