<p>I'm researching how to deploy a game server with kubernetes, but am running into an issue with having the pods running the game be accessible to the web without a LoadBalancer. Since running a load balancer for each pod is not an option I was told to use ingress with nodeports to make them available over the web. </p>

<p>I am able to get the cluster created and the pods all distributed onto the nodes the way I want them, I am unable to make them accessible though. I created a <a href="https://github.com/marcusjwhelan/minecraft_docker/tree/master/k8s/prod-azure#then-lets-set-up-helm-ingress-nginx" rel="nofollow noreferrer">github repo</a>, link is to the kubernetes section, that has all the code to run the server locally if you want to test it. As for running the project in the cloud though I can't seem to get that to work. In the Readme I have the steps I went through and the files with the code I have so far. Does anyone know where I am going wrong?</p>

<p>Am I missing a file or some conceptual idea that is going over my head with the nodeports setup?</p>

mjwrazor
<p>I found that I needed to use ClusterIP instead of NodePort. I also found that I needed to patch not just the ingress deployment but I also needed to patch the ingress service to include the tcp-services data ports I was saying were available in the Ingress deployment.</p>
