kube-eagle
kube-eagle copied to clipboard
Allow custom labels
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](https://user-images.githubusercontent.com/4686040/53734469-c3a19180-3e8c-11e9-848a-e8f8a5913d83.png)
Now, this can be used as node pool in dashboard directly.
Is there any way todo this ?
Thx, great work!!
I like the idea. I'll look into it :-).
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?
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 :).
Could you please briefly describe how one would go about implementing this?
What I finally came up with is this:
This would make it much more useful on AWS EKS as well. Node names do not include any useful information.
Any updates?