clean up repo

This commit is contained in:
psun256
2025-12-18 18:52:28 -05:00
parent 54978770be
commit 7eae7db1f6
13 changed files with 329 additions and 46 deletions

View File

@@ -1,27 +1,38 @@
healthcheck_addr: "0.0.0.0:8080"
healthcheck_addr: "10.0.1.10:9000"
iperf_addr: "0.0.0.0:5001"
iperf_addr: "10.0.1.10:5201"
backends:
- id: "srv-1"
ip: "192.67.67.2:8080"
ip: "10.0.1.11:8081"
- id: "srv-2"
ip: "192.67.67.3:8080"
ip: "10.0.1.12:8082"
- id: "srv-3"
ip: "10.0.1.13:8083"
- id: "srv-4"
ip: "10.0.1.14:8084"
clusters:
main-api:
- "srv-1"
- "srv-2"
priority-api:
- "srv-1"
- "srv-3"
- "srv-4"
rules:
- clients:
- "172.67.67.2/24:80"
- "0.0.0.0/0:8080"
targets:
- "main-api"
strategy:
type: "RoundRobin"
- clients:
- "10.0.0.0/24:8080"
- "10.0.0.0/24:25565"
targets:
- "main-api"
- "priority-api"
strategy:
type: "Adaptive"
coefficients: [ 1.5, 1.0, 0.5, 0.1 ]
alpha: 0.75
type: "RoundRobin"