Skip to content

feat(#22): find loopback random port if no specified

cyrinux requested to merge feat/find-random-loopback-port into main

Hi,

A tiny contrib.

This will search a random port available, but no the priv ports > 1024.

I don't know if this is better to panic if no port available ( if this happen this is really well and this is better to not start 😀 ), or if we should fallback on the previous port 6443 ?

I still need to find a way to pass the good port in the kubeconfig then.

Edited by cyrinux

Merge request reports