dc52abf4ce
This change adds sticky session support, by using the new oxy/rr/StickySession feature. To use it, set traefik.backend.sticky to true. This is currently only implemented in the wrr load balancer, and against the Marathon backend, but lifting it should be very doable. In the wrr load balancer, a cookie called _TRAEFIK_SERVERNAME will be set with the backend to use. If the cookie is altered to an invalid backend server, or the server is removed from the load balancer, the next server will be used instead. Otherwise, the cookie will be checked in Oxy's rr on access and if valid the connection will be wired through to it. |
||
---|---|---|
.. | ||
k8s | ||
boltdb.go | ||
consul.go | ||
consul_catalog.go | ||
consul_catalog_test.go | ||
docker.go | ||
docker_test.go | ||
etcd.go | ||
file.go | ||
file_test.go | ||
kubernetes.go | ||
kubernetes_test.go | ||
kv.go | ||
kv_test.go | ||
marathon.go | ||
marathon_test.go | ||
mesos.go | ||
mesos_test.go | ||
provider.go | ||
provider_test.go | ||
zk.go |