-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Apply taints using taint block in aws_eks_node_group resource #78
Apply taints using taint block in aws_eks_node_group resource #78
Conversation
/test all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cvittoriasona Thank you for this contribution. We appreciate the effort.
This module is not currently accepting PRs due to the master branch containing breaking changes that will be replaced. Until the master branch is fixed, PRs are on hold.
Meanwhile, would you please verify that you can use var.userdata_override_base64
with var.kubernetes_taints
. The AWS documentation says:
When specifying an AMI, Amazon EKS doesn't merge any user data. Rather, you're responsible for supplying the required bootstrap commands for nodes to join the cluster. If your nodes fail to join the cluster, the Amazon EKS CreateNodegroup and UpdateNodegroupVersion actions also fail.
When the user supplies userdata or taints, this module specifies a launch template with a custom AMI ID, and currentlyvar.kubernetes_taints
is ignored if you use var.userdata_override_base64
. The thing is, I am pretty sure that the taint
block also works by setting userdata parameters passed to bootstrap.sh
so taints will continue to be ignored when you specify var.userdata_override_base64
.
So we are probably going to reject this request because it imposes the extra requirement on AWS Terraform provider version for not enough gain.
@Nuru - fair enough; I only question if specifying This is probably more complex than is absolutely needed for this module, but would be interested in:
That said, this change would need to be reworked anyway to support the above. |
@cvittoriasona worte
This module does not "change the behavior of the EKS Managed Node Group", it mimics it. The |
what
taint
block inaws-eks-node-group
to apply taints instead of kubelet args now that they're fully supported.taint
block inaws-eks-node-group
why
var.userdata_override_base64
withvar.kubernetes_taints
tf plan
step.user_data
references
taint
block added in AWS provider v3.43.0