title: How to get container interaction details inside a cluster?
body: <p>let's say I have certain containers running in a cluster like kube-apiserver, dns-controller
  and let's say these two containers are communicating with each other, so I want to capture these interactions in a tabular format like [from]-[to] or in any other JSON structure for all the containers running in the cluster.
  Is it possible to get these details using Kubernetes python client?</p>
  <p>Used weavescope (Service discovery tool) to get the same information through some API, but I want to explore other methods, tried looking into the kubectl commands, but was not useful. I'm currently going through Container Network Interface (CNI) concepts.</p>
  <p>can someone suggest an approach that can be tried or any existing way to achieve this?</p>