-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Unable to modify [settings.kubernetes] with bootstrap_extra_args
#1967
Comments
unfortunately, we do not have any control over this at the module level. the EKS managed service injects its own user data to bootstrap nodes (for both the Linux 2 and Bottlerocket based OS's) I would suggest either asking the question upstream https://github.com/bottlerocket-os/bottlerocket or filing a ticket with AWS support. For reference, we face similar issues with the Linux 2 based nodes awslabs/amazon-eks-ami#844 but users have some flexibility to work around with some bash script fu |
upstream issue raised - bottlerocket-os/bottlerocket#2024 |
Confirmed with EKS MNG team that TOML merging is supported - bottlerocket-os/bottlerocket#2024 (comment) My issue was an incorrect type (string instead of int) for The config below works as expected:
|
awesome, glad you were able to get it sorted 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Unable to pass values for
[settings.kubernetes]
viabootstrap_extra_args
because EKS is already managing[settings.kubernetes]
duplicate
[settings.kubernetes]
key provided viabootstrap_extra_args
:Versions
Terraform v1.1.7 on darwin_arm64
provider registry.terraform.io/hashicorp/aws v4.6.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/helm v2.4.1
provider registry.terraform.io/hashicorp/null v3.1.1
provider registry.terraform.io/hashicorp/tls v3.1.0
18.14.1, 18.7.2
Reproduction
With BottlerocketOS + eks_managed_node_group - use
bootstrap_extra_args
to add values forsettings.kubernetes.container-log-max-size
andsettings.kubernetes.container-log-max-files
Code Snippet to Reproduce
Expected behavior
Expect values to be set as defined
Actual behavior
Nodes are unable to join managed node group because
[settings.kubernetes]
is invalidated by duplicate entryAdditional context
see TOML - Allow duplicate keys #697
The text was updated successfully, but these errors were encountered: