kube-eagle icon indicating copy to clipboard operation
kube-eagle copied to clipboard

Allow custom labels

Open botzill opened this issue 5 years ago • 7 comments

I was thinking about this custom labels definition. For example on DigitalOcean we have node pool name in nodes label as:

screen shot 2019-03-04 at 14 48 58

Now, this can be used as node pool in dashboard directly.

Is there any way todo this ?

Thx, great work!!

botzill avatar Mar 04 '19 12:03 botzill

I like the idea. I'll look into it :-).

weeco avatar Mar 05 '19 09:03 weeco

Apparently (https://github.com/kubernetes/kops/issues/5767), right now kops (or kubernetes itself) does not allow custom node names. My current workflow with grafana dashboard now looks like this: I run kubectl get nodes -l kops.k8s.io/instancegroup=spot-nodes, and then manually limit results to given nodes, one at a time. As you can imagine, it gets painful rather fast (╯°□°)╯︵ ┻━┻

Is there anything one could do to help make this a reality?

dir01 avatar Jul 24 '19 09:07 dir01

This feature is still at the top of my todo list for this project, but unfortunately I haven't had enough time to work on it yet. Pull requests for this however are welcome.

Other than that I am still eager to implement this on my own as well - my usecases would benefit by this feature as well :).

weeco avatar Jul 24 '19 10:07 weeco

Could you please briefly describe how one would go about implementing this?

dir01 avatar Jul 24 '19 10:07 dir01

What I finally came up with is this:

image

dir01 avatar Jul 28 '19 09:07 dir01

This would make it much more useful on AWS EKS as well. Node names do not include any useful information.

troytoman avatar Jul 28 '20 13:07 troytoman

Any updates?

liorfranko avatar Jun 23 '21 09:06 liorfranko