<p>I have a service running on kubernetes exposed via nodeport like so:</p>
<pre><code>test-service                        NodePort    100.100.246.5     &lt;none&gt;        30005:30005/TCP
</code></pre>
<p>That service is reachable from other nodes and is working properly; however, I don't see see that kubernetes listening on that port if I do a <code>netstat -tunlp | grep 30005</code>.</p>
<p>I have <code>External Traffic Policy:  Local</code>, and if I understand correctly that should mean that the node with the pod on it should be listening on said port? Again, everything works, but I'm trying to figure out why I cannot see the port listening on the host.</p>

<p>Kubernetes services are not implemented as processes listening on a specific port. Instead iptables (or IPVS) is used and services are basically iptables rules. That's why they won't show up in your netstat. You can find more info about it <a href="https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-iptables" rel="noreferrer">here</a>.</p>
