kubehost icon indicating copy to clipboard operation
kubehost copied to clipboard

Allow ability to choose the host port

Open ahmetb opened this issue 7 years ago • 1 comments

It seems like kubehost bind always binds to port 80. As far as I can tell, this prevents kubehost to be used with multiple exposed services at once (#2) as it tries to reuse port 80.

ahmetb avatar Oct 08 '18 19:10 ahmetb

The deployment kubehost bind creates will use the same port specified by your clusterIP service.

Note that there is a current documented limitation that we only support services with one port (specifically: it'll use the first one it finds).

Here's the specific code: https://github.com/GoogleContainerTools/kubehost/blob/71d2a859cfba7172351200f2f0debb4d900c47e8/kubehost#L144

WilliamDenniss avatar Oct 09 '18 04:10 WilliamDenniss