Git Product home page Git Product logo

k8s-iperf's Introduction

k8s-iperf

Modified from 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.

./k8s-iperf <server-node>

Output

[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

k8s-iperf's People

Contributors

kentwelcome avatar qrtt1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.