https://github.com/infuseai/k8s-iperf
Run network performance test in kubernetes cluster
https://github.com/infuseai/k8s-iperf
iperf k8s performance-testing
Last synced: 6 months ago
JSON representation
Run network performance test in kubernetes cluster
- Host: GitHub
- URL: https://github.com/infuseai/k8s-iperf
- Owner: InfuseAI
- License: mit
- Created: 2019-08-16T17:56:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-04T03:38:16.000Z (almost 2 years ago)
- Last Synced: 2025-06-20T20:49:03.788Z (10 months ago)
- Topics: iperf, k8s, performance-testing
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 32
- Watchers: 2
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-iperf
Modified from [kubernetes-iperf3](https://github.com/Pharb/kubernetes-iperf3) to benchmark kubernetes cluster network performance. Will use iperf to measure network performance with multiple connections from each nodes.
## How to use
Select a node as iperf server, and all the other nodes in kubernetes cluster will try to connect to server at the same time.
```bash
./k8s-iperf
```
## Output
```text
[Start] iperf server
deployment.apps/iperf-server-deployment created
service/iperf-server created
daemonset.apps/iperf-clients created
Waiting for iperf server to start...
[Start] iperf clients
[Run] iperf-client pod iperf-clients-fffsm
[Run] iperf-client pod iperf-clients-fxnhw
...... done
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 10.233.66.68 port 5001 connected with 10.233.64.59 port 52912
[ 5] local 10.233.66.68 port 5001 connected with 10.233.65.74 port 52236
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 2.98 GBytes 2.55 Gbits/sec
[ 5] 0.0-10.0 sec 2.87 GBytes 2.47 Gbits/sec
[Cleanup]
deployment.apps "iperf-server-deployment" deleted
service "iperf-server" deleted
daemonset.apps "iperf-clients" deleted
```