Benchmarking tool for Kubernetes clusters
Project description
kbench
Installation
$ pip 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.
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
kbench-0.4.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file kbench-0.4.0.tar.gz
.
File metadata
- Download URL: kbench-0.4.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/4.15.0-1106-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d270efabc3fb9dfa3b99d5dcf52f94ea855df4c16786c0fce0766d9bb5cfb5 |
|
MD5 | 49e1b7977d98a5badb3ba101d2db2948 |
|
BLAKE2b-256 | 95411c0007726464c9b440f9fb8026b8979a43fd8dc5dd17b2db15bb137cf048 |
File details
Details for the file kbench-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: kbench-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/4.15.0-1106-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346345fc8f6887067e83b50800f5b105b45ab6fabfc4b9c3bb160603f946eb0a |
|
MD5 | a7caee6f519478c7f999da3bd3c90a52 |
|
BLAKE2b-256 | dc55e9aa1851196ad4fa23e14a67152078cb79309619665fcc3ab1196bac0871 |