Kube-burner: Performance and Scale Testing for Kubernetes

Shriira Press

Preface

How to push a Kubernetes cluster until it strains, measure exactly where it bends, and turn the numbers into a report you can trust.

Welcome to Kube-burner: Performance and Scale Testing for Kubernetes.

Kube-burner is a Kubernetes performance and scale-test orchestration tool, written in Go and built on the official client-go library. Its job is to put a cluster under realistic, controlled load — creating and deleting large numbers of objects from templated jobs at rates you choose — and then to measure precisely how the cluster responds. It times how long pods take to schedule and become ready, watches API and service latency, scrapes Prometheus metrics across the run, evaluates alert rules, and indexes every result to Elasticsearch, OpenSearch, or local files so the data can become a report. This book walks the whole arc. It opens with the scale-testing problem and what kube-burner is, then explores the job and object model that defines a workload, the churn and rate controls that shape load over time, the measurements that capture latency, the Prometheus scraping and indexing pipeline, the alerting engine that turns thresholds into pass-or-fail, and finally kube-burner-ocp, the opinionated OpenShift wrapper, along with the practices that make scale tests repeatable and meaningful.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — The Scale-Testing Problem
  2. Chapter 2 — Jobs, Objects, and Templates
  3. Chapter 3 — Rate, Churn, and Lifecycle
  4. Chapter 4 — Measurements and Latency
  5. Chapter 5 — Metrics, Prometheus, and Indexing
  6. Chapter 6 — Alerting and Pass-or-Fail
  7. Chapter 7 — kube-burner-ocp and Practice
0%
1/1