Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create Kubernetes Pod Network Map

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?

like image 563
user1708730 Avatar asked Jan 30 '26 03:01

user1708730


1 Answers

There are many tools to visualize k8s topology.

In order of Github stars:

  • Cockpit:

    • Cockpit Project — Cockpit Project 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. Storage screenshot
  • Weave Scope (Github: weaveworks/scope) 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. :

  • spekt8/spekt8: Visualize your Kubernetes cluster in real time :

    • 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.
  • KubeView (Github: benc-uk/kubeview: Kubernetes cluster visualiser and graphical explorer )

    • 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.
  • Kubernetes Topology Graph:

    • Provides a simple force directed topology graph for kubernetes items.
    • Kubernetes Topology Graph
like image 182
Yasen Avatar answered Feb 02 '26 12:02

Yasen