How-To Guides⚓
Task-oriented recipes for specific goals. Each guide walks you through a complete solution from start to finish.
Configuration⚓
Set up and configure your load tests:
- Configure resource limits and requests — Control CPU and memory allocation for master and worker pods
- Use a private image registry — Pull Locust images from private registries with authentication
- Mount volumes to test pods — Attach data, certificates, or configuration files from various sources
- Configure Kafka and AWS MSK integration — Set up authenticated Kafka access for event-driven testing
- Configure automatic cleanup with TTL — Automatically remove finished jobs and pods after tests complete
Observability⚓
Monitor and measure test performance:
- Configure OpenTelemetry integration — Export traces and metrics using native OTel support
- Monitor test status and health — Track test progress, phase transitions, conditions, and pod health
- Set up Prometheus monitoring — Collect and visualize test metrics with Prometheus and Grafana
Scaling⚓
Scale tests for high load and optimize resource placement:
- Scale worker replicas for high load — Size worker replicas based on simulated user count
- Use node affinity for dedicated test nodes — Target specific nodes using labels and affinity rules
- Configure tolerations for tainted nodes — Schedule pods on nodes with taints
- Use node selector for simple node targeting — Target nodes using simple label matching
Security⚓
Secure your tests and manage credentials:
- Inject secrets into test pods — Use Kubernetes secrets for API keys, tokens, and credentials
- Configure pod security settings — Set security contexts, RBAC, and network policies for test pods
- Secure container registry access — Authenticate with private container registries
Testing & Validation⚓
Validate operator deployments and test changes:
- Validate with Kind cluster — Complete guide to testing the operator on a local Kind cluster