Terraform-aws-eks: Node_groups do not allow the addition of bootstrap_extra_args as worker_groups do

Created on 7 Feb 2020  路  4Comments  路  Source: terraform-aws-modules/terraform-aws-eks

I have issues

I'm submitting a...

  • [X] bug report
  • [X] feature request
  • [ ] support request - read the FAQ first!
  • [ ] kudos, thank you, warm fuzzy

What is the current behavior?

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.

If this is a bug, how to reproduce? Please include a code sample if relevant.

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

What's the expected behavior?

Managed node_groups should have all the same features as self-provisioned worker_groups

Are you able to fix this problem and submit a PR? Link here if you have already.

I am not

Environment details

  • Affected module version: All
  • OS: Local - Mac, EKS - AWSLinux
  • Terraform version: 0.12.19

Any other relevant info

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.

All 4 comments

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.

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:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Pratima picture Pratima  路  4Comments

joshkurz picture joshkurz  路  4Comments

mattlawnz picture mattlawnz  路  3Comments

tokiwong picture tokiwong  路  4Comments

tnimni picture tnimni  路  3Comments