-
-
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
Difference between node_groups and worker_groups #895
Comments
@Alxander64 |
@Alxander64 - node groups are completely managed by AWS, so you don't even see the EC2 instances. Whereas worker groups you see them in EC2. As AWS says, "with worker groups the customer controls the data plane & AWS controls the Control Plane" |
@darrenfurr That is not true. The EKS Managed Node Groups system creates a standard ASG in your account, with EC2 instances that you can see and access. The MNG system is supposed to ease some of the lifecycle around upgrading nodes. Although they do not do this automatically for you. You still need to trigger updating of nodes when updates are available. As for the side question:
|
@dpiddockcmp - Thanks for the clarification. It was my understanding that you would not see them under EC2 instances. We're using worker groups. So does that mean with managed node groups we do NOT need to install the AWS Cluster Autoscaler? |
You still need to install a cluster autoscaler if you want the number of worker nodes to dynamically scale. MNG adds the necessary tags on the ASG to allow the cluster autoscaler to function. |
@dpiddockcmp Is it possible to taint the nodes when using |
No, there is currently very little control offered over managed node group instances by the AWS system. There is a request on their roadmap for a bit more flexibility aws/containers-roadmap#596 and specifically for taints: aws/containers-roadmap#864 You have to use traditional worker groups if you want to do anything more complicated than create nodes |
@Alxander64 I think that @dpiddockcmp answered to your question. Closing this issue for now. Feel free to re-open if needed. |
I think this info should be included somewhere in the docs. I was too researching what was the difference between using node_groups and worker_groups and which one is preferred way to go. Luckily, I found this issue but I did search the README first and expected it to be there. |
@pranas Can you please open an PR with an update you suggested ? |
Sure, I can write something up when I find free time. |
Can we use the module with For example:
|
Yes, all three can be used together in a single cluster. |
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. |
Difference between node_groups and worker_groups
Hi, recently started using this module, and am happy with it so far.
However, I do have a question about the
node_groups
andworker_groups
keys.I see in the basic example the use of
worker_groups
, whereas in the managed node groups example there isnode_groups
, which seem to be very similar.Is this something specific to the managed node groups? I don't seem to see if mentioned in the related docs.
Is the
node_groups
format just a way of working around this problem in the FAQ?Side question: How many different ways are there of setting custom labels on nodes? I see the irsa example using the
tags
key, which is different from the managed node groups, and there's also this comment on the keykubelet_extra_args
which is the only mention I see of setting k8s labels.Not sure if creating an issue is the best place to ask questions about this module, but I guess I'm just confused with the documentation.
The text was updated successfully, but these errors were encountered: