<p>I am looking to map out various network connections between pods in a namespace to understand which pod is talking to which other pods. Is there a way to query the etcd to get this information?</p>

user1708730
<p>There are many tools to visualize k8s topology.</p>
<p>In order of Github stars:</p>
<ul>
<li><p>Cockpit:</p>
<ul>
<li><a href="https://cockpit-project.org/" rel="noreferrer">Cockpit Project — Cockpit Project</a> Cockpit makes GNU/Linux discoverable. See your server in a web browser and perform system tasks with a mouse. It’s easy to start containers, administer storage, configure networks, and inspect logs.  <a href="https://cockpit-project.org/images/site/screenshot-storage.png" rel="noreferrer"><img src="https://cockpit-project.org/images/site/screenshot-storage.png" alt="Storage screenshot" /></a></li>
</ul>
</li>
<li><p><a href="https://www.weave.works/oss/scope/" rel="noreferrer">Weave Scope</a> (Github: <a href="https://github.com/weaveworks/scope" rel="noreferrer">weaveworks/scope</a>) is a troubleshooting and monitoring tool for Docker and Kubernetes clusters. It can automatically generate applications and infrastructure topologies which can help you to identify application performance bottlenecks easily. You can deploy Weave Scope as a standalone application on your local server/laptop, or you can choose the Weave Scope Software as a Service (SaaS) solution on Weave Cloud. With Weave Scope, you can easily group, filter or search containers using names, labels, and/or resource consumption. :</p>
<ul>
<li><img src="https://learnk8s.io/a/f9debe7f66a5bde32b87f34b458df1d7.gif" alt="" /></li>
</ul>
</li>
<li><p><a href="https://github.com/spekt8/spekt8" rel="noreferrer">spekt8/spekt8: Visualize your Kubernetes cluster in real time</a> :</p>
<ul>
<li>SPEKT8 is a new visualization tool for your Kubernetes clusters. It automatically builds logical topologies of your application and infrastructure, which enable your SRE and Ops team to intuitively understand, monitor, and control your containerized, microservices based application. Simply deploy our containerized application directly into your Kubernetes cluster.</li>
<li><a href="https://github.com/spekt8/spekt8/blob/master/spekt8-preview.gif" rel="noreferrer"><img src="https://github.com/spekt8/spekt8/raw/master/spekt8-preview.gif" alt="" /></a></li>
</ul>
</li>
<li><p>KubeView (Github: <a href="https://github.com/benc-uk/kubeview" rel="noreferrer">benc-uk/kubeview: Kubernetes cluster visualiser and graphical explorer</a> )</p>
<ul>
<li><img src="https://learnk8s.io/a/6841080241651f5884b93900c1b931b3.gif" alt="" /></li>
<li>KubeView displays what is happening inside a Kubernetes cluster, it maps out the API objects and how they are interconnected. Data is fetched real-time from the Kubernetes API. The status of some objects (Pods, ReplicaSets, Deployments) is colour coded red/green to represent their status and health. <img src="https://user-images.githubusercontent.com/14982936/53411103-87b68a00-39bd-11e9-81b2-df2fb9cd7b28.png" alt="" /></li>
</ul>
</li>
<li><p><a href="https://github.com/kubernetes-ui/topology-graph" rel="noreferrer">Kubernetes Topology Graph</a>:</p>
<ul>
<li>Provides a simple force directed topology graph for kubernetes items.</li>
<li><a href="https://camo.githubusercontent.com/23ffbcfe72e1b19a730edb3048152e02f378ba6d/68747470733a2f2f7261772e6769746875622e636f6d2f6b756265726e657465732d75692f746f706f6c6f67792d67726170682f6d61737465722f736372617463682f73637265656e73686f742e706e67" rel="noreferrer"><img src="https://camo.githubusercontent.com/23ffbcfe72e1b19a730edb3048152e02f378ba6d/68747470733a2f2f7261772e6769746875622e636f6d2f6b756265726e657465732d75692f746f706f6c6f67792d67726170682f6d61737465722f736372617463682f73637265656e73686f742e706e67" alt="Kubernetes Topology Graph" /></a></li>
</ul>
</li>
</ul>
