testing-resilience

Inject HTTP, gRPC, and network faults into Kubernetes services during k6 load tests.

10|1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/KimDoubleB/grafana-k6-skills --skill testing-resilience
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-resilience
Source: https://github.com/KimDoubleB/grafana-k6-skills/tree/main/plugins/grafana-k6-skills/skills/testing-resilience
Command: npx skills add https://github.com/KimDoubleB/grafana-k6-skills --skill testing-resilience

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables you to proactively identify weaknesses in your system's resilience by simulating real-world failure scenarios during load tests.

Core Features & Use Cases

  • Fault Injection: Simulate network delays, HTTP errors, gRPC errors, and pod terminations.
  • Resilience Pattern Testing: Validate system behavior under failure conditions, test circuit breakers, and measure recovery times.
  • Use Case: Simulate a partial service outage by injecting 500ms delays and a 10% error rate into your critical API for 60 seconds while running a load test, then observe how your system handles the degraded performance and recovers.

Quick Start

Use the testing-resilience skill to inject a 500ms delay and a 10% error rate into 'my-service' for 60 seconds.

Frequently Asked Questions about testing-resilience

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inject network delays and HTTP errors into Kubernetes services during load tests?

You can inject network delays and HTTP errors during load tests by leveraging the xk6-disruptor extension within Grafana k6 to simulate faults directly into Kubernetes services. This validates system stability under degraded conditions.

Can I test circuit breaker functionality by simulating a partial service outage in k6?

Yes, you can test circuit breaker functionality by simulating a partial outage in k6, such as injecting a 10% error rate and 500ms delays into critical APIs. This observes how your system handles degraded performance and measures recovery.

What types of faults can I inject for chaos engineering in Kubernetes?

For chaos engineering in Kubernetes, you can inject HTTP errors, gRPC errors, network delays, and pod terminations into your services. This allows you to proactively identify system weaknesses by simulating real-world failure scenarios.

Does Grafana k6 support pod termination fault injection for resilience testing?

Grafana k6 supports pod termination fault injection for resilience testing through the xk6-disruptor extension. This allows you to validate system behavior, test recovery mechanisms, and measure recovery times during active load tests.

How do I validate system recovery mechanisms during a Kubernetes load test?

You validate system recovery mechanisms during a Kubernetes load test by injecting faults like gRPC errors and network delays, then observing how the system handles the degraded performance and recovers. This proactively identifies resilience weaknesses.