kosmos-io / kosmos

The limitless expansion of Kubernetes. Make Kubernetes without boundaries
https://kosmos-io.github.io/website/
Apache License 2.0
186 stars 42 forks source link

Bug: apiserver and anp component can't start becuase no free port #584

Open village-way opened 1 month ago

village-way commented 1 month ago

What happened: use hostNetwork will use node port to start, but the node may no have free port to use

What you expected to happen: we should check the port is available before allocate the port

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment: