traefik/integration/testdata/rawdata-crd.json

134 lines
2.7 KiB
JSON
Raw Normal View History

{
"routers": {
2019-09-13 18:44:04 +00:00
"default-test.route-6b204d94623b3df4370c@kubernetescrd": {
"entryPoints": [
"web"
],
2019-09-13 18:44:04 +00:00
"service": "default-test.route-6b204d94623b3df4370c",
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/bar`)",
"priority": 12,
"tls": {
2019-09-13 18:44:04 +00:00
"options": "default-mytlsoption"
},
2019-09-02 09:38:04 +00:00
"status": "enabled",
"using": [
"web"
]
},
2019-09-13 18:44:04 +00:00
"default-test2.route-23c7f4c450289ee29016@kubernetescrd": {
"entryPoints": [
"web"
],
"middlewares": [
2019-09-13 18:44:04 +00:00
"default-mychain@kubernetescrd"
],
2019-09-13 18:44:04 +00:00
"service": "default-test2.route-23c7f4c450289ee29016",
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/tobestripped`)",
2019-09-02 09:38:04 +00:00
"status": "enabled",
"using": [
"web"
]
}
},
"middlewares": {
2019-09-13 18:44:04 +00:00
"default-mychain@kubernetescrd": {
"chain": {
"middlewares": [
2019-09-13 18:44:04 +00:00
"default-stripprefix@kubernetescrd"
]
},
"status": "enabled",
"usedBy": [
2019-09-13 18:44:04 +00:00
"default-test2.route-23c7f4c450289ee29016@kubernetescrd"
]
},
2019-09-13 18:44:04 +00:00
"default-stripprefix@kubernetescrd": {
"stripPrefix": {
"prefixes": [
"/tobestripped"
]
},
"status": "enabled"
}
},
"services": {
2019-09-13 18:44:04 +00:00
"default-test.route-6b204d94623b3df4370c@kubernetescrd": {
2019-07-01 09:30:05 +00:00
"loadBalancer": {
"servers": [
{
2019-09-10 14:12:05 +00:00
"url": "http://10.42.0.2:80"
},
{
2019-09-10 14:12:05 +00:00
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true
},
"status": "enabled",
"usedBy": [
2019-09-13 18:44:04 +00:00
"default-test.route-6b204d94623b3df4370c@kubernetescrd"
],
"serverStatus": {
2019-09-10 14:12:05 +00:00
"http://10.42.0.2:80": "UP",
"http://10.42.0.6:80": "UP"
}
},
2019-09-13 18:44:04 +00:00
"default-test2.route-23c7f4c450289ee29016@kubernetescrd": {
2019-07-01 09:30:05 +00:00
"loadBalancer": {
"servers": [
{
2019-09-10 14:12:05 +00:00
"url": "http://10.42.0.2:80"
},
{
2019-09-10 14:12:05 +00:00
"url": "http://10.42.0.6:80"
}
],
"passHostHeader": true
},
"status": "enabled",
"usedBy": [
2019-09-13 18:44:04 +00:00
"default-test2.route-23c7f4c450289ee29016@kubernetescrd"
],
"serverStatus": {
2019-09-10 14:12:05 +00:00
"http://10.42.0.2:80": "UP",
"http://10.42.0.6:80": "UP"
}
}
},
"tcpRouters": {
2019-09-13 18:44:04 +00:00
"default-test3.route-673acf455cb2dab0b43a@kubernetescrd": {
"entryPoints": [
"footcp"
],
2019-09-13 18:44:04 +00:00
"service": "default-test3.route-673acf455cb2dab0b43a",
"rule": "HostSNI(`*`)",
"tls": {
"passthrough": false,
2019-09-13 18:44:04 +00:00
"options": "default-mytlsoption"
},
2019-09-02 09:38:04 +00:00
"status": "enabled",
"using": [
"footcp"
]
}
},
"tcpServices": {
2019-09-13 18:44:04 +00:00
"default-test3.route-673acf455cb2dab0b43a@kubernetescrd": {
2019-07-01 09:30:05 +00:00
"loadBalancer": {
"terminationDelay": 100,
"servers": [
{
2019-09-10 14:12:05 +00:00
"address": "10.42.0.4:8080"
},
{
2019-09-10 14:12:05 +00:00
"address": "10.42.0.5:8080"
}
]
},
"status": "enabled",
"usedBy": [
2019-09-13 18:44:04 +00:00
"default-test3.route-673acf455cb2dab0b43a@kubernetescrd"
]
}
}
}