+++ This bug was initially created as a clone of Bug #1851390 +++ +++ This bug was initially created as a clone of Bug #1851389 +++ kcm pod crashloops because port is already in use. I saw a case with cluster-policy-manager container but it's not limited to it. Crashlooping triggers alerts and adds backoff for the pod so it start slower. Container can be restarted while the pods stays. For that reason, we need to check the port availability in the same process as we listen, not in an init container which isn't re-run.
*** This bug has been marked as a duplicate of bug 1851397 ***