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
Metadata
Release files for k8-perf-888aaen 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| k8-perf-888aaen-0.2.8.tar.gz | 2.8 kB | Without provenance | Details for k8-perf-888aaen-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| k8_perf_888aaen-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for k8_perf_888aaen-0.2.8-py3-none-any.whl |
Total release size: 5.6 kB
Release files / k8-perf-888aaen-0.2.8.tar.gz
| Download URL | k8-perf-888aaen-0.2.8.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b56f50640c772b987610651c173a66657e77b4062c7f9d27d2eea9d01244931
|
|
BLAKE2b-256 checksum How to use checksums |
c0e5a84033b1523c311f7403fa3bf6eddc95d9ecb49b6f77a04360df01f37795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / k8_perf_888aaen-0.2.8-py3-none-any.whl
| Download URL | k8_perf_888aaen-0.2.8-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
beb25426be862529e31d0bf191d65ec53e878ac648252c5c666befa8bdc11023
|
|
BLAKE2b-256 checksum How to use checksums |
b215e3270f654b146acd45bbe334263c6bc60f97a7e10cf938ade14689b635f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Security for k8-perf-888aaen 0.2.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.