Tell us about your request
The Kubernetes managed nodes should be tagged with node-role.kubernetes.io/<node-group-name>=true which would make the node group name visible at a quick glance when doing kubectl get nodes and would allow to quickly identify the nodes.
Which service(s) is this request for?
EKS.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When one has many node groups in a cluster, it's really convenient to be able to quickly identify which node group a node is part of. The de facto standard node-role.kubernetes.io/
Are you currently working around this issue?
No, since tags ending with kubernetes.io aren't allowed on managed node groups.
Nodes created using an EKS Managed Nodegroup have label key: eks.amazonaws.com/nodegroup and label value: <node-group-name> which can be used to filter nodes. Example kubectl command for a nodegroup with name ng-4e4d73712
kubectl get nodes --selector=eks.amazonaws.com/nodegroup=ng-4e4d73712
Closing as this functionality exists.
@tabern I disagree with you: the label exists and can be used for filtering but what I was asking for, though, is that the on purpose node-role.kubernetes.io/<node-group-name>=true label be used so that we can see which node group a nodes belongs to at a glance in the roles column of kubectl get nodes. Would you mind reopening this feature request please?
@yann-soubeyrand i agree with you
@yann-soubeyrand i agree too
@yann-soubeyrand i agree with you
@tabern could you please consider reopening this issue?
Most helpful comment
@tabern I disagree with you: the label exists and can be used for filtering but what I was asking for, though, is that the on purpose
node-role.kubernetes.io/<node-group-name>=truelabel be used so that we can see which node group a nodes belongs to at a glance in the roles column of kubectl get nodes. Would you mind reopening this feature request please?