Files
kata-containers/tests/metrics/network
David Esparza bba34910df metrics: stops kata components and k8s deployment when test finishes
This PR adds a trap whenever the scrip exits, it deletes the iperf
k8s deployment and k8s services, and deletes the kata components.

This way, when the script finishes, it verifies that there are
indeed no kata components still running.

Fixes: #8126

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-10-09 13:41:43 -06:00
..

Kata Containers network metrics

Kata Containers provides a series of network performance tests. Running these provides a basic reference for measuring network essentials like bandwidth, jitter, latency and parallel bandwidth.

Performance tools

  • iperf3 measures bandwidth, jitter, CPU usage and the quality of a network link.

Networking tests

  • k8s-network-metrics-iperf3.sh measures bandwidth which is the speed of the data transfer.
  • latency-network.sh measures network latency.
  • nginx-network.sh is a benchmark of the lightweight Nginx HTTPS web-server and measures the HTTP requests over a fixed period of time with a configurable number of concurrent clients/connections.

Running the tests

Individual tests can be run by hand, for example:

$ cd metrics
$ bash network/iperf3_kubernetes/k8s-network-metrics-iperf3.sh -b