Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Benchmarking tool for Kubernetes clusters

Project description

kbench

CircleCI PyPI

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.

Files for kbench, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size kbench-0.3.0-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kbench-0.3.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page