<p>I am new to kubernetes. The whole setup I have configured in Minikube. I am not sure it should different than any other kubernetes setup. </p>

<p>I have created a POD in my setup and an spring boot application is running inside on 8080 port and this service to expose to Cluster on 20080 port.</p>

<p>I am running another pod inside the cluster where tcpdump is running. I have requirement to dump the HTTP packets hitting the cluster on 20080. Please let me know how I can access Cluster interface from the tcpdump pod. </p>

<p>I tried google and tried using Cluster IP directly from the POD,but it didn't work.</p>

nagendra547
<p>The POD that is running tcpdump can only see its own netns, except you run the POD with  the <code>hostNetwork: true</code> option. </p>

<p>So maybe what you can do is running POD with <code>hostNetwork: true</code> option, then use tcpdump to monitor the host's physical interface to grab the network packages on port 20080. Also you can monitor the network interface of the POD that's running the spring boot, if you can find the POD's network interface, which depends on the network configurations.</p>
