traefik/templates
Owen Marshall dc52abf4ce
Add sticky session support to Traefik.
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.
2016-09-30 10:56:17 +02:00
..
consul_catalog.tmpl enable consul catalog to use maxconn 2016-09-15 12:11:37 -04:00
docker.tmpl Add backend features to docker 2016-09-14 14:51:31 -04:00
kubernetes.tmpl Prioritize kubernetes routes by path length 2016-08-03 11:37:22 -07:00
kv.tmpl refacto(constraint-kv): Move constraint checking out of template 2016-09-21 14:33:45 +02:00
marathon.tmpl Add sticky session support to Traefik. 2016-09-30 10:56:17 +02:00
mesos.tmpl add mesos provider inspired by mesos-dns & marathon provider 2016-07-20 11:56:14 +02:00
notFound.tmpl Traefik 2015-09-10 16:46:27 +02:00