Skip to content

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.

    How it works

  • Automation & CI/CD


    Integrate performance testing directly into your CI/CD pipelines. Automate the deployment, execution, and teardown of your Locust tests for continuous performance validation.

    CI/CD integration tutorial

  • 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.

    Configure resources

  • Observability & Monitoring


    Gain insights into test results and infrastructure usage. The operator supports Prometheus metrics out-of-the-box and native OpenTelemetry integration.

    Configure OpenTelemetry · Metrics reference

  • 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.

    Configure TTL

  • 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.

    How it works

  • Private Image Registry Support


    Use images from private registries for your Locust tests. The operator supports imagePullSecrets and configurable imagePullPolicy.

    Use private registry

  • 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_configmap functionality.

  • 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.

    Configure 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.

    Configure OpenTelemetry

  • 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.

    Inject secrets

  • 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.

    Mount volumes

  • Separate Resource Specs


    Configure resources, labels, and annotations independently for master and worker pods. Optimize each component based on its specific needs.

    API Reference

  • Enhanced Status Tracking


    Monitor test progress with rich status information including phase (Pending, Running, Succeeded, Failed), Kubernetes conditions, and worker connection status.

    Monitor test status · API Reference