What is k6 and why do SRE teams use it?
BeginnerConceptCapacity, Load Testing & Chaos Engineering
Answer
k6 is an open-source load-testing tool from Grafana Labs. You write tests in JavaScript, and the engine (written in Go) runs them efficiently from a single binary. SRE teams like it because tests are code (reviewed in Git), thresholds turn SLOs into pass/fail criteria with a non-zero exit code for CI, it supports open-model arrival-rate executors, and it can stream results to Prometheus or Grafana Cloud. The k6 Operator runs distributed tests on Kubernetes.
More on Capacity, Load Testing & Chaos Engineering
What is capacity planning in SRE?BeginnerWhat is N+1 and N+2 redundancy for capacity?BeginnerHow do you calculate how many instances you need?IntermediateWhat is the difference between load, stress, spike, soak and breakpoint testing?BeginnerWrite a minimal k6 test with SLO thresholds.IntermediateWhat is the difference between open and closed workload models in load testing?Advanced