1
0
Fork 0

Add provider in middleware chain

This commit is contained in:
Julien Salleyron 2019-09-10 16:12:05 +02:00 committed by Traefiker Bot
parent fcc1109e76
commit 34be181706
4 changed files with 70 additions and 12 deletions

View file

@ -20,7 +20,7 @@
"web"
],
"middlewares": [
"default/mychain"
"default/mychain@kubernetescrd"
],
"service": "default/test2.route-23c7f4c450289ee29016",
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/tobestripped`)",
@ -34,7 +34,7 @@
"default/mychain@kubernetescrd": {
"chain": {
"middlewares": [
"default/stripprefix"
"default/stripprefix@kubernetescrd"
]
},
"status": "enabled",
@ -56,10 +56,10 @@
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.3:80"
"url": "http://10.42.0.2:80"
},
{
"url": "http://10.42.0.5:80"
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true
@ -69,18 +69,18 @@
"default/test.route-6b204d94623b3df4370c@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.3:80": "UP",
"http://10.42.0.5:80": "UP"
"http://10.42.0.2:80": "UP",
"http://10.42.0.6:80": "UP"
}
},
"default/test2.route-23c7f4c450289ee29016@kubernetescrd": {
"loadBalancer": {
"servers": [
{
"url": "http://10.42.0.3:80"
"url": "http://10.42.0.2:80"
},
{
"url": "http://10.42.0.5:80"
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true
@ -90,8 +90,8 @@
"default/test2.route-23c7f4c450289ee29016@kubernetescrd"
],
"serverStatus": {
"http://10.42.0.3:80": "UP",
"http://10.42.0.5:80": "UP"
"http://10.42.0.2:80": "UP",
"http://10.42.0.6:80": "UP"
}
}
},
@ -117,10 +117,10 @@
"loadBalancer": {
"servers": [
{
"address": "10.42.0.6:8080"
"address": "10.42.0.4:8080"
},
{
"address": "10.42.0.7:8080"
"address": "10.42.0.5:8080"
}
]
},