kbench
kbench is a benchmarking tool for measuring the control plane performance of a Kubernetes cluster.
Installation
kbench is available on PyPI.
$ pip3 install kbench
Usage
pod-throughput
Launch multiple pods in parallel and measure their startup and cleanup time.
$ kbench pod-throughput
-n,--num-pods: Number of pods to launch.-i,--image: Container image to use.--timings/--no-timings: Print timing information for all pods.
pod-latency
Launch multiple pods sequentially and measure their startup and cleanup time.
$ kbench pod-latency
-n,--num-pods: Number of pods to launch.-i,--image: Container image to use.--timings/--no-timings: Print timing information for all pods.
deployment-scaling
Create a deployment and measure scale-in/out latency. First, a deployment with
m replicas is created. Then, the deployment is scaled-out to n replicas.
Once the scale-out is completed, the deployment is scaled-in to m replicas
again.
$ kbench deployment-scaling
-i,--image: Container image to use.-m,--num-init-replicas: Initial number of replicas.-n,--num-target-replicas: Target number of replicas.
Metadata
Release files for kbench 0.5.0
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 |
|---|---|---|---|---|
| kbench-0.5.0.tar.gz | 5.2 kB | Without provenance | Details for kbench-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kbench-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for kbench-0.5.0-py3-none-any.whl |
Total release size: 11.7 kB
Release files / kbench-0.5.0.tar.gz
| Download URL | kbench-0.5.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8adb0c73215a28046c704a5aeda5a5fef5163d65d182baac1882b834a50f68a0
|
|
BLAKE2b-256 checksum How to use checksums |
90269f1c51dfe36d79671e3c0055be57d049b662803aa0c9de0a585677395c8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.6 Linux/4.15.0-1106-aws
|
Release files / kbench-0.5.0-py3-none-any.whl
| Download URL | kbench-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c8f26c5cdd687370d84eab1305d12e1f2f6fd9b1c8b6d0d16cb6d1dba2cf94d
|
|
BLAKE2b-256 checksum How to use checksums |
be315e113a3aeeb01098e37d6bdf20b542b001d0c3a81c3ff6a2727958a11129
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.6 Linux/4.15.0-1106-aws
|
Security for kbench 0.5.0
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.