kosmos-io / kosmos

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

Check whether a port is occupied by another process before allocating it #588

Open qiuwei68 opened 4 months ago

qiuwei68 commented 4 months ago

What would you like to be added: When a port is allocated, it is considered whether the port is already occupied by a process on the host. If it is found to be occupied by a process on the host, the port is not selected Why is this needed: Increase port allocation robustness and success rate

qiuwei68 commented 4 months ago

/assign @qiuwei68