Performance Testing in Keptn Using K6
summary
Keptn runs K6 load tests as short-lived Kubernetes Jobs via the Keptn Job Executor Service, using a k6 Docker image and k6 run to produce pass/fail exit codes from k6 thresholds (example: k6 reports P95 ≈ 378 ms). k6 exports metrics to Prometheus; Keptn fetches SLIs from Prometheus and evaluates weighted SLOs with Quality Gates (example: Prometheus returns P95 ≈ 398 ms), letting pipelines gate promotions on score-based SLO evaluation.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:57Keptn Features
- 3:56Keptn Lifecycle Toolkit
- 4:53Declarative Multi-Stage Delivery
- 5:17Shipyard File
- 6:49Performance Testing
- 8:18K6 Script
- 9:11K6 Thresholds Script
- 9:34K6 Extensions
- 9:58Keptn-K6 Workflow
- 10:59Keptn Integration Flow
- 12:24Job Executor Service (config.yaml)
- 13:36Quality Gates (slo.yaml)
- 14:29K6 - Quality Gates Workflow
- 17:16Summary
related talks
36mKeptn Beyond 1.0: Sailing into the Future
45mDistributed load testing with k6
19mWorking Your Way Through GitOps with Keptn
36mA Guide to Event-driven SRE-inspired DevOps
37mUsing SLOs for Continuous Performance Optimizations of Your K8s Workloads
46mDistributed load testing with k6
48mPerformance Testing Workshop with k6
34mK8s load testing at scale with k6-operator
