<p>I have a simple kubernetes setup: 1 pod, 1 service with LoadBalancer and things just work. But I don't want to pay extra for a load balancer when I have only 1 pod.</p>
<p>I tried to switch to NodePort, but I'm not able to access the service on the right ports (because they are remapped to 30000+ ports). I have a service that I'd like to access on port 443, but I can't, so what can I do in this case?</p>
<p>My service would be <code>https://server.aaa.com</code>, but if the port is remapped to 30000, I need to use <code>https://server.aaa.com:30000</code>? any way to be on port 443?</p>
<p><a href="https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types</a></p>

07mm8
<p>Two options :</p>
<ol>
<li>you can try haproxy outside kubernetes . This <a href="https://www.youtube.com/watch?v=yQIbJcg0Ljc&amp;ab_channel=RahulWagh" rel="nofollow noreferrer">video</a> explains similar requirement as yours.</li>
<li>setting &quot;--service-node-port-range&quot; . check this <a href="http://www.thinkcode.se/blog/2019/02/20/kubernetes-service-node-port-range" rel="nofollow noreferrer">blog</a></li>
</ol>
