Skip to main content

A kubernetes network performance testing tool

Project description

Benchmark application

Run the application

You can run the application in docker compose or native

Local:

Virtualenv

you can activate the virtualenv with the following command:

source bin/activate
# in one window
iperf3 -s
# in another window (make sure to activate the virtualenv)
python client localhost

Docker:

docker-compose up

Run iperf 3 benchmark on kubernetes

There are two files in the folder bandwidth:

  • the server iperf3-server.yaml
  • the client iperf3-client.yaml

Right now i have nodes specified in both deployments. To change the hostname in them:

  • change line 36 in bandwidth/iperf3-server.yaml
  • change line 16 in bandwidth/iperf3-client.yaml

Running benchmark

First open two terminals. In the first deploy the server, and attach is logs. The server have to de deployed before the client by running the following command:

kubectl apply -f bandwidth/iperf3-server.yaml

Then attach the logs

kubectl logs -f -l io.kompose.service=server

In the second terminal, deploy the client by running the following command:

kubectl apply -f bandwidth/iperf3-client.yaml

Now you should see something in the first terminal.

To rerun the benchmark first delete the job, and then create it again. You do this by running:

kubectl delete -f bandwidth/iperf3-client.yaml
kubectl apply -f bandwidth/iperf3-client.yaml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k8-perf-888aaen-0.2.5.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

k8_perf_888aaen-0.2.5-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file k8-perf-888aaen-0.2.5.tar.gz.

File metadata

  • Download URL: k8-perf-888aaen-0.2.5.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for k8-perf-888aaen-0.2.5.tar.gz
Algorithm Hash digest
SHA256 31c4ff36d0d97fa423589a387c20a63fa6ea06d1a88d59fccf488d4bf0f4e67f
MD5 11a402a88441e2dc7d6b38ab9be67553
BLAKE2b-256 6abff696fe680cc49cdd1b28120cec1efaa2c5d26ecd94cf6aa61785d01d56c7

See more details on using hashes here.

File details

Details for the file k8_perf_888aaen-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for k8_perf_888aaen-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 33d5a41abd45e0f271e4183f96283f0666929d87ac9ff0a3d37f20032ab11242
MD5 36b123de82843d7b270770e0ba76a8bc
BLAKE2b-256 8e1640344fee11c4385c9804d69532521497c3bfc7746be4e005acf2c0549629

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page