traefik/provider
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
..
k8s Don't filter the endpoint and service watches 2016-08-16 06:50:50 +01:00
boltdb.go add createStore() funcs and skip consul TLS test 2016-07-21 09:22:35 +02:00
consul.go add createStore() funcs and skip consul TLS test 2016-07-21 09:22:35 +02:00
consul_catalog.go Move jobs backoff back into traefik 2016-09-27 21:45:29 +02:00
consul_catalog_test.go enable consul catalog to use maxconn 2016-09-15 12:11:37 -04:00
docker.go Move jobs backoff back into traefik 2016-09-27 21:45:29 +02:00
docker_test.go Initial support for Docker 1.12 Swarm Mode 2016-09-27 14:21:38 -03:00
etcd.go add createStore() funcs and skip consul TLS test 2016-07-21 09:22:35 +02:00
file.go Use KvStores as global config source 2016-07-21 09:22:35 +02:00
file_test.go Refactor traefik with package 2015-11-02 18:35:55 +01:00
kubernetes.go Move jobs backoff back into traefik 2016-09-27 21:45:29 +02:00
kubernetes_test.go Prioritize kubernetes routes by path length 2016-08-03 11:37:22 -07:00
kv.go Move jobs backoff back into traefik 2016-09-27 21:45:29 +02:00
kv_test.go #216: sets passHostHeader to true by default (#351) 2016-05-10 13:43:24 +02:00
marathon.go Add sticky session support to Traefik. 2016-09-30 10:56:17 +02:00
marathon_test.go Add sticky session support to Traefik. 2016-09-30 10:56:17 +02:00
mesos.go Move jobs backoff back into traefik 2016-09-27 21:45:29 +02:00
mesos_test.go add mesos provider inspired by mesos-dns & marathon provider 2016-07-20 11:56:14 +02:00
provider.go Add ability for marathon provider to set maxconn values 2016-09-14 16:52:02 -04:00
provider_test.go fix for nil clientTLS causing issue 2016-08-16 17:50:22 -04:00
zk.go add createStore() funcs and skip consul TLS test 2016-07-21 09:22:35 +02:00