Features⚓
Everything the Locust Kubernetes Operator can do. Click any feature to learn how.
Cloud Native & Kubernetes Integration
Leverage the full power of Kubernetes for distributed performance testing. The operator is designed to be cloud-native, enabling seamless deployment and scaling on any Kubernetes cluster.
Integrate performance testing directly into your CI/CD pipelines. Automate the deployment, execution, and teardown of your Locust tests for continuous performance validation.
Governance & Resource Management
Maintain control over how resources are deployed and used. Configure resource requests and limits for Locust master and worker pods, and even disable CPU limits for performance-sensitive tests.
Gain insights into test results and infrastructure usage. The operator supports Prometheus metrics out-of-the-box and native OpenTelemetry integration.
Cost Optimization
Optimize cloud costs by deploying resources only when needed and for as long as needed. The operator's automatic cleanup feature ensures that resources are terminated after a test run.
Test Isolation & Parallelism
Run multiple tests in parallel with guaranteed isolation. Each test runs in its own set of resources, preventing any cross-test interference.
Private Image Registry Support
Use images from private registries for your Locust tests. The operator supports
imagePullSecretsand configurableimagePullPolicy.Lib ConfigMap Support
Mount lib directories via ConfigMap for your Locust tests. This feature allows you to include shared libraries and modules without modifying test files or patching images, similar to the helm chart's
locust_lib_configmapfunctionality.Advanced Scheduling
Control where your Locust pods are scheduled using Kubernetes affinity and taint tolerations. This allows you to run tests on dedicated nodes or in specific availability zones.
Use node affinity · Configure tolerations · Use node selector
Kafka & AWS MSK Integration
Seamlessly integrate with Kafka and AWS MSK for performance testing of event-driven architectures. The operator provides out-of-the-box support for authenticated Kafka.
Native OpenTelemetry Support
Export traces and metrics directly from Locust using native OpenTelemetry integration. No sidecar required—configure endpoints, protocols, and custom attributes directly in your CR.
Secret & ConfigMap Injection
Securely inject credentials, API keys, and configuration from Kubernetes Secrets and ConfigMaps. Supports environment variables and file mounts with automatic prefix handling.
Flexible Volume Mounting
Mount test data, certificates, and configuration files from PersistentVolumes, ConfigMaps, or Secrets. Target specific components (master, worker, or both) with fine-grained control.
Separate Resource Specs
Configure resources, labels, and annotations independently for master and worker pods. Optimize each component based on its specific needs.
Enhanced Status Tracking
Monitor test progress with rich status information including phase (Pending, Running, Succeeded, Failed), Kubernetes conditions, and worker connection status.