mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
96962dd21f
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
109 lines
2.2 KiB
JSON
109 lines
2.2 KiB
JSON
{
|
|
"routers": {
|
|
"default/test.crd-6b204d94623b3df4370c@kubernetescrd": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"service": "default/test.crd-6b204d94623b3df4370c",
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/bar`)",
|
|
"priority": 12,
|
|
"tls": {
|
|
"options": "default/mytlsoption"
|
|
}
|
|
},
|
|
"default/test2.crd-23c7f4c450289ee29016@kubernetescrd": {
|
|
"entryPoints": [
|
|
"web"
|
|
],
|
|
"middlewares": [
|
|
"default/stripprefix"
|
|
],
|
|
"service": "default/test2.crd-23c7f4c450289ee29016",
|
|
"rule": "Host(`foo.com`) \u0026\u0026 PathPrefix(`/tobestripped`)"
|
|
}
|
|
},
|
|
"middlewares": {
|
|
"default/stripprefix@kubernetescrd": {
|
|
"stripPrefix": {
|
|
"prefixes": [
|
|
"/tobestripped"
|
|
]
|
|
},
|
|
"usedBy": [
|
|
"default/test2.crd-23c7f4c450289ee29016@kubernetescrd"
|
|
]
|
|
}
|
|
},
|
|
"services": {
|
|
"default/test.crd-6b204d94623b3df4370c@kubernetescrd": {
|
|
"loadbalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.42.0.3:80"
|
|
},
|
|
{
|
|
"url": "http://10.42.0.5:80"
|
|
}
|
|
],
|
|
"passHostHeader": true
|
|
},
|
|
"usedBy": [
|
|
"default/test.crd-6b204d94623b3df4370c@kubernetescrd"
|
|
],
|
|
"serverStatus": {
|
|
"http://10.42.0.3:80": "UP",
|
|
"http://10.42.0.5:80": "UP"
|
|
}
|
|
},
|
|
"default/test2.crd-23c7f4c450289ee29016@kubernetescrd": {
|
|
"loadbalancer": {
|
|
"servers": [
|
|
{
|
|
"url": "http://10.42.0.3:80"
|
|
},
|
|
{
|
|
"url": "http://10.42.0.5:80"
|
|
}
|
|
],
|
|
"passHostHeader": true
|
|
},
|
|
"usedBy": [
|
|
"default/test2.crd-23c7f4c450289ee29016@kubernetescrd"
|
|
],
|
|
"serverStatus": {
|
|
"http://10.42.0.3:80": "UP",
|
|
"http://10.42.0.5:80": "UP"
|
|
}
|
|
}
|
|
},
|
|
"tcpRouters": {
|
|
"default/test3.crd-673acf455cb2dab0b43a@kubernetescrd": {
|
|
"entryPoints": [
|
|
"footcp"
|
|
],
|
|
"service": "default/test3.crd-673acf455cb2dab0b43a",
|
|
"rule": "HostSNI(`*`)",
|
|
"tls": {
|
|
"passthrough": false,
|
|
"options": "default/mytlsoption"
|
|
}
|
|
}
|
|
},
|
|
"tcpServices": {
|
|
"default/test3.crd-673acf455cb2dab0b43a@kubernetescrd": {
|
|
"loadbalancer": {
|
|
"servers": [
|
|
{
|
|
"address": "10.42.0.4:8080"
|
|
},
|
|
{
|
|
"address": "10.42.0.6:8080"
|
|
}
|
|
]
|
|
},
|
|
"usedBy": [
|
|
"default/test3.crd-673acf455cb2dab0b43a@kubernetescrd"
|
|
]
|
|
}
|
|
}
|
|
} |