Fix ServersTransport documentation
Co-authored-by: mpl <mathieu.lonjaret@gmail.com>
This commit is contained in:
parent
d2d7cf14e5
commit
ec0d03658d
7 changed files with 26 additions and 19 deletions
|
@ -132,10 +132,11 @@ you'd add the tag `traefik.http.services.{name-of-your-choice}.loadbalancer.pass
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar
|
traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar@file
|
||||||
```
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
||||||
|
|
|
@ -287,10 +287,11 @@ you'd add the label `traefik.http.services.<name-of-your-choice>.loadbalancer.pa
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- "traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar"
|
- "traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar@file"
|
||||||
```
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
||||||
|
|
|
@ -135,10 +135,11 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar
|
traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar@file
|
||||||
```
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
||||||
|
|
|
@ -292,15 +292,16 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
|
||||||
|
|
||||||
You can find an excerpt of the available custom resources in the table below:
|
You can find an excerpt of the available custom resources in the table below:
|
||||||
|
|
||||||
| Kind | Purpose | Concept Behind |
|
| Kind | Purpose | Concept Behind |
|
||||||
|------------------------------------------|---------------------------------------------------------------|----------------------------------------------------------------|
|
|--------------------------------------------|--------------------------------------------------------------------|----------------------------------------------------------------|
|
||||||
| [IngressRoute](#kind-ingressroute) | HTTP Routing | [HTTP router](../routers/index.md#configuring-http-routers) |
|
| [IngressRoute](#kind-ingressroute) | HTTP Routing | [HTTP router](../routers/index.md#configuring-http-routers) |
|
||||||
| [Middleware](#kind-middleware) | Tweaks the HTTP requests before they are sent to your service | [HTTP Middlewares](../../middlewares/overview.md) |
|
| [Middleware](#kind-middleware) | Tweaks the HTTP requests before they are sent to your service | [HTTP Middlewares](../../middlewares/overview.md) |
|
||||||
| [TraefikService](#kind-traefikservice) | Abstraction for HTTP loadbalancing/mirroring | [HTTP service](../services/index.md#configuring-http-services) |
|
| [TraefikService](#kind-traefikservice) | Abstraction for HTTP loadbalancing/mirroring | [HTTP service](../services/index.md#configuring-http-services) |
|
||||||
| [IngressRouteTCP](#kind-ingressroutetcp) | TCP Routing | [TCP router](../routers/index.md#configuring-tcp-routers) |
|
| [IngressRouteTCP](#kind-ingressroutetcp) | TCP Routing | [TCP router](../routers/index.md#configuring-tcp-routers) |
|
||||||
| [IngressRouteUDP](#kind-ingressrouteudp) | UDP Routing | [UDP router](../routers/index.md#configuring-udp-routers) |
|
| [IngressRouteUDP](#kind-ingressrouteudp) | UDP Routing | [UDP router](../routers/index.md#configuring-udp-routers) |
|
||||||
| [TLSOptions](#kind-tlsoption) | Allows to configure some parameters of the TLS connection | [TLSOptions](../../https/tls.md#tls-options) |
|
| [TLSOptions](#kind-tlsoption) | Allows to configure some parameters of the TLS connection | [TLSOptions](../../https/tls.md#tls-options) |
|
||||||
| [TLSStores](#kind-tlsstore) | Allows to configure the default TLS store | [TLSStores](../../https/tls.md#certificates-stores) |
|
| [TLSStores](#kind-tlsstore) | Allows to configure the default TLS store | [TLSStores](../../https/tls.md#certificates-stores) |
|
||||||
|
| [ServersTransport](#kind-serverstransport) | Allows to configure the transport between Traefik and the backends | [ServersTransport](../../services/#serverstransport_1) |
|
||||||
|
|
||||||
### Kind: `IngressRoute`
|
### Kind: `IngressRoute`
|
||||||
|
|
||||||
|
|
|
@ -112,11 +112,12 @@ A Story of key & values
|
||||||
|
|
||||||
??? info "`traefik/http/services/<service_name>/loadbalancer/serverstransport`"
|
??? info "`traefik/http/services/<service_name>/loadbalancer/serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
| Key (Path) | Value |
|
| Key (Path) | Value |
|
||||||
|-----------------------------------------------------------------|----------|
|
|-----------------------------------------------------------------|---------------|
|
||||||
| `traefik/http/services/myservice/loadbalancer/serverstransport` | `foobar` |
|
| `traefik/http/services/myservice/loadbalancer/serverstransport` | `foobar@file` |
|
||||||
|
|
||||||
??? info "`traefik/http/services/<service_name>/loadbalancer/passhostheader`"
|
??? info "`traefik/http/services/<service_name>/loadbalancer/passhostheader`"
|
||||||
|
|
||||||
|
|
|
@ -162,10 +162,11 @@ For example, to change the passHostHeader behavior, you'd add the label `"traefi
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"traefik.http.services.<service_name>.loadbalancer.serverstransport": "foobar"
|
"traefik.http.services.<service_name>.loadbalancer.serverstransport": "foobar@file"
|
||||||
```
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
||||||
|
|
|
@ -168,10 +168,11 @@ you'd add the label `traefik.http.services.{name-of-your-choice}.loadbalancer.pa
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.serverstransport`"
|
||||||
|
|
||||||
|
Allows to reference a ServersTransport resource that is defined either with the File provider or the Kubernetes CRD one.
|
||||||
See [serverstransport](../services/index.md#serverstransport) for more information.
|
See [serverstransport](../services/index.md#serverstransport) for more information.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- "traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar"
|
- "traefik.http.services.<service_name>.loadbalancer.serverstransport=foobar@file"
|
||||||
```
|
```
|
||||||
|
|
||||||
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
??? info "`traefik.http.services.<service_name>.loadbalancer.passhostheader`"
|
||||||
|
|
Loading…
Reference in a new issue