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.
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.
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.3.0.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file kbench-0.3.0.tar.gz
.
File metadata
- Download URL: kbench-0.3.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-1043-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640af8988d39b6d0c412908d78d2af8a00058a7efcbe1065f27e2b8a4613e001 |
|
MD5 | 99fd1f009957ee97c0ac8032f294481a |
|
BLAKE2b-256 | 98c07d163288bc593717df237bd66dd798f1bfaf4d90d2bc6d2904c1fd92ce9d |
File details
Details for the file kbench-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kbench-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.4 Linux/4.15.0-1043-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e50a686bc94b63ced0e6f9f35439805d9450ec3174cfaf11da4431d614074ca |
|
MD5 | 76d4bca78ac7d79cb6f7db5f1637c9c1 |
|
BLAKE2b-256 | 00f5d34415b03f7fdbc7ffcf37abfc09307a2cedf16dd24680d79d8231fbbbba |