116 lines
No EOL
2.4 KiB
JSON
116 lines
No EOL
2.4 KiB
JSON
{
|
|
"routers": {
|
|
"default/test.route-6b204d94623b3df4370c@kubernetescrd": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"service": "default/test.route-6b204d94623b3df4370c",
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/bar`)",
|
|
"priority": 12,
|
|
"tls": {
|
|
"options": "default/mytlsoption"
|
|
},
|
|
"status": "enabled"
|
|
},
|
|
"default/test2.route-23c7f4c450289ee29016@kubernetescrd": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"middlewares": [
|
|
"default/stripprefix"
|
|
],
|
|
"service": "default/test2.route-23c7f4c450289ee29016",
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/tobestripped`)",
|
|
"status": "enabled"
|
|
}
|
|
},
|
|
"middlewares": {
|
|
"default/stripprefix@kubernetescrd": {
|
|
"stripPrefix": {
|
|
"prefixes": [
|
|
"/tobestripped"
|
|
]
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"default/test2.route-23c7f4c450289ee29016@kubernetescrd"
|
|
]
|
|
}
|
|
},
|
|
"services": {
|
|
"default/test.route-6b204d94623b3df4370c@kubernetescrd": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.42.0.4:80"
|
|
},
|
|
{
|
|
"url": "http://10.42.0.5:80"
|
|
}
|
|
],
|
|
"passHostHeader": true
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"default/test.route-6b204d94623b3df4370c@kubernetescrd"
|
|
],
|
|
"serverStatus": {
|
|
"http://10.42.0.4:80": "UP",
|
|
"http://10.42.0.5:80": "UP"
|
|
}
|
|
},
|
|
"default/test2.route-23c7f4c450289ee29016@kubernetescrd": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.42.0.4:80"
|
|
},
|
|
{
|
|
"url": "http://10.42.0.5:80"
|
|
}
|
|
],
|
|
"passHostHeader": true
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"default/test2.route-23c7f4c450289ee29016@kubernetescrd"
|
|
],
|
|
"serverStatus": {
|
|
"http://10.42.0.4:80": "UP",
|
|
"http://10.42.0.5:80": "UP"
|
|
}
|
|
}
|
|
},
|
|
"tcpRouters": {
|
|
"default/test3.route-673acf455cb2dab0b43a@kubernetescrd": {
|
|
"entryPoints": [
|
|
"footcp"
|
|
],
|
|
"service": "default/test3.route-673acf455cb2dab0b43a",
|
|
"rule": "HostSNI(`*`)",
|
|
"tls": {
|
|
"passthrough": false,
|
|
"options": "default/mytlsoption"
|
|
},
|
|
"status": "enabled"
|
|
}
|
|
},
|
|
"tcpServices": {
|
|
"default/test3.route-673acf455cb2dab0b43a@kubernetescrd": {
|
|
"loadBalancer": {
|
|
"servers": [
|
|
{
|
|
"address": "10.42.0.3:8080"
|
|
},
|
|
{
|
|
"address": "10.42.0.6:8080"
|
|
}
|
|
]
|
|
},
|
|
"status": "enabled",
|
|
"usedBy": [
|
|
"default/test3.route-673acf455cb2dab0b43a@kubernetescrd"
|
|
]
|
|
}
|
|
}
|
|
} |