siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.91k stars 556 forks source link

I would like to specify a primary interface for talos api to listen on #9752

Closed janvanlith closed 6 days ago

janvanlith commented 6 days ago

Feature Request

I want to specify on which interface a node listens for talos api calls. (with kubelet I can use validSubnets)

Description

I have a cluster with worker nodes that have extra interfaces that are connected to a data network and I have the management network where also the control plane nodes are in. (they do not have a extra interface) When I now deploy the cluster and do a talosctl health the api call go wrong as it want to connect to the extra interface its ip address. But that is not routed from the management network and goes wrong. Can you create a config value that set the primary interface to listen on for talos api or make a value that can set validSubnets for the api?

janvanlith commented 6 days ago

more info: https://taloscommunity.slack.com/archives/CMARMBC4E/p1731404390239639

smira commented 6 days ago

Please see https://github.com/siderolabs/talos/discussions/9690