This directory contains various deployment examples for SpeedBench, organized by deployment type.
examples/
├── kubernetes/ # Kubernetes CronJob examples
├── docker/ # Docker Compose setup
├── systemd/ # systemd service and timer files
└── scripts/ # Shell script examples
Choose the deployment method that fits your environment:
For Kubernetes clusters, see kubernetes/README.md
# Basic CronJob
kubectl apply -f kubernetes/cronjob-basic.yaml
# Multi-zone CronJob
kubectl apply -f kubernetes/cronjob-multi-zone.yamlFor Docker environments, see docker/README.md
cd docker
docker-compose upFor Linux systems with systemd, see systemd/README.md
sudo cp systemd/*.service systemd/*.timer /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable speedbench.timerFor simple automation, see scripts/README.md
chmod +x scripts/*.sh
./scripts/simple-test.shAll examples need to be customized with:
- Test URL: Replace
https://example.com/test-file.binwith your actual test file URL - StatsD Configuration: Update StatsD host and port if using metrics export
- Identifiers: Set appropriate
--sourceand--targetvalues for your infrastructure - Parameters: Adjust
--times,--delay, and other options as needed
All examples use the public Docker image:
ghcr.io/anonc0der/speedbench:latest
The image is automatically built and pushed via GitHub Actions on every push to the main branch.
- Check the main README.md for general usage
- See individual README files in each subdirectory for specific instructions
- Open an issue on GitHub for questions or problems