k0sproject / k0smotron

k0smotron
https://docs.k0smotron.io/
Other
508 stars 48 forks source link

Check if controlPlaneEndpoint can accept join requests #771

Closed makhov closed 1 month ago

makhov commented 1 month ago

Adding a probe on k0s api port to check, if the control plane LB has this port open. Some LBs open only kubernetes API port, so they can't be used for joining controllers. On the other hand, we can't always use the machine's address, since some providers report addresses incorrectly