traefik/provider
Kristian Klausen 020a8e31ab
kv: Ignore backend servers with no url
Currently with a kv tree like:
/traefik/backends/b1/servers/ẁeb1
/traefik/backends/b1/servers/web2
/traefik/backends/b1/servers/web2/url
Traefik would try to forward traffic to web1, which is impossible as
traefik doesn't know the url of web1.

This commit solve that, by ignoring backend server with no url "key"
when generating the config.

This is very useful, for people who use etcd TTL feature. They can then
just "renew" the url key every X second, and if the server goes down, it
is automatic removed from traefik after the TTL.
2017-04-06 10:28:11 +02:00
..
k8s Support cluster-external Kubernetes client. (#1159) 2017-03-07 13:09:11 +01:00
boltdb.go Import order as goimports does 2016-12-30 19:04:02 +01:00
consul.go Import order as goimports does 2016-12-30 19:04:02 +01:00
consul_catalog.go Add Operation with recover 2017-02-03 09:46:27 +01:00
consul_catalog_test.go consul/kv.tmpl: weight default value should be a int (#826) 2016-11-23 14:49:55 +01:00
docker.go Use service.project.domain instead of project-service.domain 2017-04-03 11:00:04 +02:00
docker_test.go Use service.project.domain instead of project-service.domain 2017-04-03 11:00:04 +02:00
docker_unix.go Fix Docker API version for Windows 2017-02-04 16:44:10 +01:00
docker_windows.go Fix Docker API version for Windows 2017-02-04 16:44:10 +01:00
dynamodb.go add dynamo 2017-03-16 10:12:26 -06:00
dynamodb_test.go add dynamo 2017-03-16 10:12:26 -06:00
ecs.go Try harder to query all the possible ec2 instances, and filter on instance state / lack of IP address 2017-03-06 17:45:58 +01:00
ecs_test.go Try harder to query all the possible ec2 instances, and filter on instance state / lack of IP address 2017-03-06 17:45:58 +01:00
etcd.go Import order as goimports does 2016-12-30 19:04:02 +01:00
eureka.go Import order as goimports does 2016-12-30 19:04:02 +01:00
eureka_test.go Import order as goimports does 2016-12-30 19:04:02 +01:00
file.go Fix contraint store/read from KV 2016-11-09 21:08:37 +01:00
file_test.go Refactor traefik with package 2015-11-02 18:35:55 +01:00
kubernetes.go Support cluster-external Kubernetes client. (#1159) 2017-03-07 13:09:11 +01:00
kubernetes_test.go Adding support for Traefik to respect the K8s ingress class annotation (#1182) 2017-03-03 20:30:22 +01:00
kv.go kv: Ignore backend servers with no url 2017-04-06 10:28:11 +02:00
kv_test.go Import order as goimports does 2016-12-30 19:04:02 +01:00
marathon.go Switch duration configuration parameters over to flaeg.Duration. 2017-04-03 18:36:23 +02:00
marathon_test.go Revert "Ensure that we don't add balancees with no health check runs if there is a health check defined on it" 2017-03-06 17:45:58 +01:00
mesos.go Add Operation with recover 2017-02-03 09:46:27 +01:00
mesos_test.go Fix GroupsAsSubDomains option for Mesos and Marathon (#868) 2016-11-28 14:59:08 +01:00
provider.go Import order as goimports does 2016-12-30 19:04:02 +01:00
provider_test.go feat: Add defaultFuncMap to template 2016-12-08 20:44:13 +01:00
rancher.go Small fixes and improvments 2017-03-06 17:45:58 +01:00
rancher_test.go Small fixes and improvments 2017-03-06 17:45:58 +01:00
zk.go Import order as goimports does 2016-12-30 19:04:02 +01:00