kubernetes-sigs / cloud-provider-kind

Cloud provider for KIND clusters
Apache License 2.0
136 stars 31 forks source link

Exposing ingress service ports on Linux #107

Closed bmassemin closed 1 month ago

bmassemin commented 1 month ago

I am currently trying the kind solution to set up a local cluster, and also cloud-provider-kind to have a load balancer. If I want to expose the ingress controller on my local network, I need the envoy container port to be mapped to the host, and according to the code, port mapping is only done if the OS is macOS or Windows or WSL2. How can I expose envoy on my local network with docker running on Linux?

aojea commented 1 month ago

you better use portmapping and publish the ports in the 0.0.0.0 https://kind.sigs.k8s.io/docs/user/configuration/#extra-port-mappings

aojea commented 1 month ago

/close

k8s-ci-robot commented 1 month ago

@aojea: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/cloud-provider-kind/issues/107#issuecomment-2270899152): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.