2019-06-11 13:12:04 +00:00
|
|
|
{
|
|
|
|
"routers": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test-crd-6b204d94623b3df4370c@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
|
|
|
"service": "default/test-crd-6b204d94623b3df4370c",
|
|
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/bar`)",
|
2019-06-21 15:18:05 +00:00
|
|
|
"priority": 12,
|
|
|
|
"tls": {
|
|
|
|
"options": "default/mytlsoption"
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test2-crd-23c7f4c450289ee29016@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"web"
|
|
|
|
],
|
|
|
|
"middlewares": [
|
|
|
|
"default/stripprefix"
|
|
|
|
],
|
|
|
|
"service": "default/test2-crd-23c7f4c450289ee29016",
|
|
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/tobestripped`)"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"middlewares": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/stripprefix@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"stripPrefix": {
|
|
|
|
"prefixes": [
|
|
|
|
"/tobestripped"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test2-crd-23c7f4c450289ee29016@kubernetescrd"
|
2019-06-11 13:12:04 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"services": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test-crd-6b204d94623b3df4370c@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"loadbalancer": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"url": "http://10.42.0.2:80"
|
2019-06-11 13:12:04 +00:00
|
|
|
},
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"url": "http://10.42.0.6:80"
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"passHostHeader": true
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test-crd-6b204d94623b3df4370c@kubernetescrd"
|
2019-06-11 13:12:04 +00:00
|
|
|
],
|
|
|
|
"serverStatus": {
|
2019-06-21 15:18:05 +00:00
|
|
|
"http://10.42.0.2:80": "UP",
|
|
|
|
"http://10.42.0.6:80": "UP"
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test2-crd-23c7f4c450289ee29016@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"loadbalancer": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"url": "http://10.42.0.2:80"
|
2019-06-11 13:12:04 +00:00
|
|
|
},
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"url": "http://10.42.0.6:80"
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"passHostHeader": true
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test2-crd-23c7f4c450289ee29016@kubernetescrd"
|
2019-06-11 13:12:04 +00:00
|
|
|
],
|
|
|
|
"serverStatus": {
|
2019-06-21 15:18:05 +00:00
|
|
|
"http://10.42.0.2:80": "UP",
|
|
|
|
"http://10.42.0.6:80": "UP"
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tcpRouters": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test3-crd-673acf455cb2dab0b43a@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"entryPoints": [
|
|
|
|
"footcp"
|
|
|
|
],
|
|
|
|
"service": "default/test3-crd-673acf455cb2dab0b43a",
|
2019-06-21 15:18:05 +00:00
|
|
|
"rule": "HostSNI(`*`)",
|
|
|
|
"tls": {
|
|
|
|
"passthrough": false,
|
|
|
|
"options": "default/mytlsoption"
|
|
|
|
}
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tcpServices": {
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test3-crd-673acf455cb2dab0b43a@kubernetescrd": {
|
2019-06-11 13:12:04 +00:00
|
|
|
"loadbalancer": {
|
|
|
|
"servers": [
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"address": "10.42.0.3:8080"
|
2019-06-11 13:12:04 +00:00
|
|
|
},
|
|
|
|
{
|
2019-06-21 15:18:05 +00:00
|
|
|
"address": "10.42.0.4:8080"
|
2019-06-11 13:12:04 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"default/test3-crd-673acf455cb2dab0b43a@kubernetescrd"
|
2019-06-11 13:12:04 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|