siderolabs / talos

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

fix: register controlplane node with NoSchedule taint #9730

Closed smira closed 6 days ago

smira commented 6 days ago

Fixes #9691

This closes the race between the node registration and the moment NodeApplyController would apply the taint.

As the taint is exactly same as added by NodeApplyController, it will be owned by the controller, so it can be removed if allowSchedulingOnControlplanes is enabled in the machine config while the cluster is running.

smira commented 6 days ago

/m