-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix: Add node group dependency for EKS addons resource creation #1840
fix: Add node group dependency for EKS addons resource creation #1840
Conversation
to follow this up, I think the next "breaking" change will be to move addons out to a sub-module (not yet, but getting very close):
[Edit] The current implementation for addons will stay for now with a |
after looking into this further, I do think this is a valid change to consider:
This means that the hard dependency is valid and my prior assumption around conflicts that could arise from control plane addons was incorrect (addons run on nodes so nodes must come first)
|
@antonbabenko this is ready for review if you get some time |
### [18.4.1](v18.4.0...v18.4.1) (2022-02-07) ### Bug Fixes * Add node group dependency for EKS addons resource creation ([#1840](#1840)) ([2515e0e](2515e0e))
This PR is included in version 18.4.1 🎉 |
I`m facing an issue that I belive is related to this feature, I did create a new cluster and after 20 minutes all the node groups was failed to start. In the description of the node I did found this error message: Ready False Fri, 11 Feb 2022 15:46:44 -0300 Fri, 11 Feb 2022 15:46:34 -0300 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized To solve this I just enabled manually the ADDON AWS CNI and KUBE-PROXY, so all the node groups was started. May these two addons should be created at same time that the node group ? |
my understanding is that at least AWS VPC CNI needs to be available before ec2 are spun up, or they wont join the cluster |
@FernandoMiguel per the docs, addons come first. However, i do agree with your sentiment and have submitted a proposal for one possible resolution (see linked issues - they all related to the CNI quite a bit) aws/containers-roadmap#1666 |
On our module that depends on this, I've split up what goes to the module (at creation time of the workers) and another set of vars and addons that depend on the workers be already created....it's smelly code but works most of the times. |
I am assuming you saw this https://docs.aws.amazon.com/eks/latest/userguide/fargate-getting-started.html#fargate-gs-coredns - but just FYI in case you didn't |
I did.. And something tells me the doc is outdated. |
### [18.4.1](terraform-aws-modules/terraform-aws-eks@v18.4.0...v18.4.1) (2022-02-07) ### Bug Fixes * Add node group dependency for EKS addons resource creation ([#1840](terraform-aws-modules/terraform-aws-eks#1840)) ([3d24799](terraform-aws-modules/terraform-aws-eks@3d24799))
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Motivation and Context
Breaking Changes
How Has This Been Tested?
examples/*
projectseks-managed-node-group
example