Eksctl: nodegroup as a resource

Created on 15 Oct 2018  Â·  12Comments  Â·  Source: weaveworks/eksctl

Why do you want this feature?

A cluster may have one or more nodegroups, we need a way for user to see nodegroups and basic info about them (size, OS family and AMI ID, creation date, other EC2 info), get list of nodes within a group, create and/or delete a group. This will also pave the way for #100.

Also, as we are adding eksclt scale nodegroup, we will need a way for the user to find what's the size of a nodegroup they wish to scale.

What feature/behavior/change do you want?

  • eksctl get nodegroup
  • eksctl create nodegroup
  • eksctl delete nodegroup

Flags and features TBD.

help wanted kinfeature

All 12 comments

@errordeveloper - i'll happily work on this as a follow up to scale nodegroup

This will also include getting a list of changes to a node group when doing the get

Is this completed with #272?

@Raffo - i'm afraid not. It was a refactor that was needed to help with this. Its currently in progress.

Ok, let me know if there is something I can take. I want to get familiar with the source of eksctl for future usages by implementing some simple feature.

As part of this, will you be able to add labels to the nodes in each group? We currently have a cluster with multiple nodegroups and we map work to the appropriate group by assigning different labels to the nodes in each group. I'm currently editing the cloudformation templates after initial creation, but it would be great to be able to specify a list of labels to apply in each group.

Yes, that would be certainly possible. In your current setup, do you set
--node-labels kubelet flag as well as EC2 tags?

On Fri, 16 Nov 2018, 3:29 am Scott Stanton, notifications@github.com
wrote:

As part of this, will you be able to add labels to the nodes in each
group? We currently have a cluster with multiple nodegroups and we map work
to the appropriate group by assigning different labels to the nodes in each
group. I'm currently editing the cloudformation templates after initial
creation, but it would be great to be able to specify a list of labels to
apply in each group.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/eksctl/issues/257#issuecomment-439250519,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPWSxVdyKMG6CpaaJaSeT5nJAFAF7XYks5uvhTsgaJpZM4XcGKw
.

Good, idea i will add it to the list for the PR

Yes, we currently edit the UserData to add something like: --node-labels=cluster=system to the ExecStart command.

I know this is being worked on but thought I'd chime in and say it would be a really useful feature for me. So I could, for example, have a nodegroup of memory-optimized instances with a label that allows me to only run rabbitmq pods on those nodes.

I believe #332 is ready to be reviewed.

Not sure why this was still open, closing now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Raduan77 picture Raduan77  Â·  3Comments

arun-gupta picture arun-gupta  Â·  3Comments

errordeveloper picture errordeveloper  Â·  4Comments

whereisaaron picture whereisaaron  Â·  4Comments

errordeveloper picture errordeveloper  Â·  4Comments