Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Simple command-line reference for UltraBalancer
# Basic usage - 2 backends, round-robin ultrabalancer -b server1:8080 -b server2:8080 # Custom port ultrabalancer -p 80 -b backend1:8080 -b backend2:8080 # With weights ultrabalancer -b server1:8080:200 -b server2:8080:100
ultrabalancer start round-robin server1:8080 server2:8080
ultrabalancer dashboard --start # Interactive setup ultrabalancer dashboard --status # Check status ultrabalancer dashboard --stop # Stop dashboard
ultrabalancer validate -f config.yaml
ultrabalancer example
ultrabalancer info
-p, --port
-b, --backend
-a, --algorithm
-w, --weight
-c, --config
--host
round-robin
least-connections
ip-hash
random
weighted
power-of-two
fastest-response
# List backends curl -H "X-API-Key: YOUR_KEY" http://localhost:8080/admin/backends # Add backend curl -X POST -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"address":"10.0.0.5:8080","weight":100}' \ http://localhost:8080/admin/backends # Remove backend curl -X DELETE -H "X-API-Key: YOUR_KEY" \ -d '{"address":"10.0.0.5:8080"}' \ http://localhost:8080/admin/backends # Update weight curl -X PUT -H "X-API-Key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"address":"10.0.0.5:8080","weight":150}' \ http://localhost:8080/admin/backends/weight
/admin/backends
/admin/backends/weight
/admin/backends/drain
/admin/backends/undrain
/admin/health