<p>I want to have MySQL as service by kubernetes. Any one that create database I should create a service for it and if he want to access database I should use NodePort. but I have 2000 port and I have 4000 user. I install kubernetes in baremetal. What should I do?
Why kubernetes have limited NodePort?</p>

check nova
<p>@check nova</p>

<p>Kubernetes does not have limited NodePort port range value.
The default range is indeed 30000-32767 but it can be changed by setting the</p>

<pre><code>--service-node-port-range
</code></pre>

<p>Update the file /etc/kubernetes/manifests/kube-apiserver.yaml and add the line <code>--service-node-port-range=xxxxx-yyyyy</code></p>

<p>Be careful however and try not to generate any configuration conflicts for your network.</p>

<p>I hope it helps.</p>
