Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodePort not exposing #298

Open
98jan opened this issue Oct 15, 2023 · 2 comments
Open

NodePort not exposing #298

98jan opened this issue Oct 15, 2023 · 2 comments

Comments

@98jan
Copy link

98jan commented Oct 15, 2023

Hi,

I wanted to run my Satisfactory Server in OpenShift/OKD and used the ansible runbook to setup the OpenShift Cluster.
My setup is a single node hetzner root server.
But when I try to expose a port as "LoadBalancer" the ports do not reach the machine/external IP Also tried to use NodePort, that didn't work.
I tried to configure HAProxy to route this routes, but HAProxy doesn't support UDP!

Could anyone help me in this setup to achive that UDP Ports from the OpenShift Cluster can be exposed to the external IP?

@rbo
Copy link
Contributor

rbo commented Oct 16, 2023

Hi,

for Loadbalancing we use HAProxy v1.8 (https://github.com/RedHat-EMEA-SSA-Team/openshift-4-loadbalancer/ - looks like we can update to 2.8 or what evern :-))

I never tried but according to the documentation: https://docs.haproxy.org/1.8/configuration.html looks like HAProxy supports UDP.

According to the architecture

we do not support Kubernetes service type loadbalancer. Even if you install and configure MetalLB or ingress IPs. OpenShift Nodes are running a complete private network which it not available from the internet.

You can create a kubernetes service type nodeport and add a forwaring in the haproxy running on the baremetal node.

Hope that helps
Cheers
Robert

@98jan
Copy link
Author

98jan commented Oct 16, 2023

As far as I understood udp is only for sending syslogs with the UDP protocol. Tried to forward it with HAProxy but couldn't manage it. Anyone here already tried to forward UDP traffic, for me so far not possible.

NodePort is also fine for me, just tried all for me known ways to expose the ports, but still failing, any help would be appreciated here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants