1
0
Fork 0

Adds weight on ServersLoadBalancer

This commit is contained in:
Julien Salleyron 2024-01-26 01:44:05 +01:00 committed by GitHub
parent f4f3dbe1f5
commit 3174c69c66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 187 additions and 2 deletions

View file

@ -36,3 +36,14 @@ services:
labels:
traefik.http.Routers.Super.Rule: Host(`my.super.host`)
traefik.http.Services.powpow.LoadBalancer.server.Port: 2375
wrr-server:
image: traefik/whoami
labels:
traefik.http.Routers.wrr-server.Rule: Host(`my.wrr.host`)
traefik.http.Services.wrr-server.LoadBalancer.server.Weight: 4
wrr-server2:
image: traefik/whoami
labels:
traefik.http.Routers.wrr-server.Rule: Host(`my.wrr.host`)
traefik.http.Services.wrr-server.LoadBalancer.server.Weight: 1