Open smira opened 2 years ago
Thanks for linking me here @smira. As a Talos novice I don't quite understand the issue description and its relation to #5653.
the idea is here to use something along the lines of talosctl -l control-plane get links
, wehre control-plane
a node label assigned outside kubernetes
the idea is here to use something along the lines of
talosctl -l control-plane get links
, wehrecontrol-plane
a node label assigned outside kubernetes
I like that idea. In regard to https://github.com/siderolabs/talos/issues/5653 a --all
flag could then perhaps be read as "target all labels" (though this would be more difficult to interpret: What labels? Only automatic labels? It seems less intuitive than saying "all nodes").
Could adding support for labeling nodes with talos version and schematic id be in the scope of this request or should I open a new issue? These labels would be helpful in writing automation, especially around a custom controller that could update talos.
Feature Request
Automatic labels:
User-supplied labels:
Push labels automatically via the kubelet (or without the kubelet) to the Kubernetes
Node
resource.Description
This should be pushed through the Cluster Discovery, so that each member can resolve member label queries to a list members.