What are the pros and cons of running containerized load generators?
Last updated
Pros: identical reproducible images, elastic scaling on platforms like Kubernetes, easy ephemeral CI/CD jobs, and clean resource isolation.
Cons: container overhead, noisy neighbors, and networking layers (NAT, overlays) can cap throughput. Poorly tuned resource limits cause throttling that mimics a generator bottleneck.
Always monitor container CPU/network so you test the system, not the container's limits.
- https://www.signadot.com/kubernetes-testing/
- https://medium.com/physicswallah-engineering/enhancing-load-testing-performance-from-kubernetes-to-ec2-769637afa807
- https://martkos-it.co.uk/blog/distributed-load-testing-kubernetes/
- https://testkube.io/glossary/distributed-load-testing
- https://www.frugaltesting.com/blog/kubernetes-load-testing-guide
- https://grafana.com/docs/k6/latest/testing-guides/running-large-tests/
- https://grafana.com/blog/k6-vs-jmeter-comparison/