How to calculate between two kubernetes cluster

Hi Everyone,

My requirement is to find Linux-based tools to calculate the bandwidth between two Kubernetes clusters. We are currently using the iperf tool to measure performance between pods and nodes within the same cluster. Please let me know if there are any methods or tools available to calculate bandwidth between two different clusters.

1 Like

To measure bandwidth between two Kubernetes clusters, you can continue using iperf by deploying it in both clusters and running tests between them. Other tools include nuttcp and netperf, which provide similar functionality. kubectl trace with bpftrace can help analyze network performance at a lower level. If you need continuous monitoring, tools like Prometheus with node-exporter or cAdvisor can provide network metrics. You might also consider Weave Scope or Calico for network observability across clusters.

HI Scarlet, thanks for responding.
So, as your saying iperf is enough. Please let me know how i can test between 2 clusters. For now we are using iperf tool, we are collecting the data between pod to pod and node to node. We need some inputs on how we can calculate between 2 clusters. As, we need to deploy in both the clusters that understood but how to run the tests between them. Please elaborate on how to use iperf tool

1 Like