<p>How does a NodePort get it's IP address? and if I create 100 nodePorts in my cluster, do I have 100 different ips or it's the same ip address and only the ports change ? who decide about the ip the nodePort is given ?</p>

Ohad
<p>According to <a href="https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport" rel="nofollow noreferrer">docs</a>:</p>
<blockquote>
<p>Kubernetes control plane allocates a port from a range specified by --service-node-port-range flag (default: 30000-32767). Each node proxies that port (the same port number on every Node) into your Service.</p>
</blockquote>
<p>So in short, k8s will open port on each node and connections to this port are then forwarded to the service’s cluster IP. So 100 nodeports will have 100 different ClusterIPs and ports.</p>
