talos icon indicating copy to clipboard operation
talos copied to clipboard

Talos member labels

Open smira opened this issue 2 years ago • 4 comments

Feature Request

Automatic labels:

  • machine type

User-supplied labels:

  • based on Kubernetes label validation rules

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.

smira avatar May 25 '22 16:05 smira

Thanks for linking me here @smira. As a Talos novice I don't quite understand the issue description and its relation to #5653.

Timoses avatar May 28 '22 20:05 Timoses

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

frezbo avatar May 29 '22 06:05 frezbo

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

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").

Timoses avatar May 29 '22 08:05 Timoses