<p>If i use node port in <code>yml</code> file it give a port more than 30000
but  when my user want to use it they do not want to remember that port and want to use 80. my <code>kubernetes</code> cluster is on <code>baremetal</code>.
How can i solve that?</p>

yasin lachini
<p>Kubernetes doesn't allow you to expose low ports via the Node Port service type by design. The idea is that there is a significant chance of a port conflict if users are allowed to set low port numbers for their Node Port services.</p>

<p>If you really want to use port 80, you're going to have to either use a Load Balancer service type, or route your traffic through an Ingress. If you were on a cloud service, then either option would be fairly straight forward. However, since you're on bare metal, both options are going to be very involved. You're going to have to configure the load balancer or ingress functionality yourself in order to use either option, and it's going to be rough, sorry.</p>

<p>If you want to go forward with this, you'll have to read through a bunch of documentation to figure out what you want to implement and how to implement it.</p>

<p><a href="https://www.weave.works/blog/kubernetes-faq-how-can-i-route-traffic-for-kubernetes-on-bare-metal" rel="nofollow noreferrer">https://www.weave.works/blog/kubernetes-faq-how-can-i-route-traffic-for-kubernetes-on-bare-metal</a></p>
