-
Notifications
You must be signed in to change notification settings - Fork 80
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
Issue with the eks-asg-tags.tf #63
Comments
Can you post the full terragrunt.hcl ? I have some cluster using subnet_ids without issues. |
This is the one that is causing issues now. Let me know if you need anything else 😄 and thank you for your help!
|
Also issue on line 51
|
Is the issue here that I should be using It like this? |
Ok, I see the with the |
The related config here (https://github.com/particuleio/teks/blob/main/terragrunt/snippets/eks-asg-tags/eks-asg-tags.tf#L40) are for ebs and volume scheduling hint when scaling to and/or from 0 with managed node group. They should be remove if needed, but if you are planning to use block storage with EBS I'd suggest you use one node group per availability zone. Also, |
It just expects only one or zero argument for the This part should be removed for you used case to function |
Awesome! I will go with the one subnet_id per node group and let cluster-autoscaler do its job with balancing! Thank you for the help again! 😊 |
The Regarding the way it picks I've attempted to fix that in my tEKS fork [0], [1] (also I think that's the reference to This approach shows for an ASG all subnets and all AZs, but only a properly mapped one for zone tags. Not certain if that 's correct, or there should be multiple zone tags for each AZ? [0] https://github.com/bogdando/teks/commit/e3564dd53f2a6936c001a0601a861fd8aa2d8a77#diff-0016c55be15bfa68fbb22254752f8a7fe56b71490e678123877d583a5346779cR203 |
Hi, This commit should solve your issues and is more elegant: 63da5a3 It will work regardless if you are doing 1 asg per AZ or multiple AZ and add the proper tags or not |
Hello @ArchiFleKs , looks like I found another issue. when I provide multiple subnet_ids for a managed node group
I get this error with the eks-asg-tags.tf.
The text was updated successfully, but these errors were encountered: