mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
When the default value, 0, is used for the HostPort in ExtraPortMappings then Kind will determine a random HostPort to use for this mapping. The validation only allowed a single instance of such a mapping, but now allows multiple. Also delay the closing of the randomly determined port until all random ports have been determined to ensure the same port cannot be returned multiple times by the operating system.