networkservicemesh / deployments-k8s

Apache License 2.0
42 stars 35 forks source link

iperf examples #477

Open edwarnicke opened 3 years ago

edwarnicke commented 3 years ago

Add examples for iperf testing.

iperf is usually run as a client and a server.

The iperf client can be run as any other workload using the nsc client, similar to Kernel2Kernel or Kernel2Vxlan2Kernel but adding iperf client to as a container to the Pod spec for nsc-kernel and iperf server to the Pod spec for nse-kernel.

Please note: you can use gotestmd to build go based tests in integration-tests and run in integration-k8s-kind. In this way you can simply document how to use iperf and the tests will be automatically generated from that documentation.

While intgration-k8s-kind won't optimize performance, its a very fast environment to get going in while developing those tests.

edwarnicke commented 3 years ago

@wchenxing

Mixaster995 commented 3 years ago

@edwarnicke, @wchenxing do you have any updates on this?