Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

SpeedBench Deployment Examples

This directory contains various deployment examples for SpeedBench, organized by deployment type.

Directory Structure

examples/
├── kubernetes/          # Kubernetes CronJob examples
├── docker/              # Docker Compose setup
├── systemd/             # systemd service and timer files
└── scripts/             # Shell script examples

Quick Start

Choose the deployment method that fits your environment:

Kubernetes

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

Docker Compose

For Docker environments, see docker/README.md

cd docker
docker-compose up

systemd

For 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.timer

Shell Scripts

For simple automation, see scripts/README.md

chmod +x scripts/*.sh
./scripts/simple-test.sh

Common Configuration

All examples need to be customized with:

  1. Test URL: Replace https://example.com/test-file.bin with your actual test file URL
  2. StatsD Configuration: Update StatsD host and port if using metrics export
  3. Identifiers: Set appropriate --source and --target values for your infrastructure
  4. Parameters: Adjust --times, --delay, and other options as needed

Docker Image

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.

Getting Help

  • 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