content large_stringlengths 3 20.5k | url large_stringlengths 53 192 ⌀ | branch large_stringclasses 4
values | source large_stringclasses 50
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
## HTTP Router An HTTP router is in charge of connecting incoming requests to the services that can handle them. Routers analyze incoming requests based on rules, and when a match is found, forward the request through any configured middlewares to the appropriate service. ## Configuration Example ```yaml tab="Structure... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/router.md | master | traefik | [
-0.09933091700077057,
0.027087116613984108,
-0.013235616497695446,
-0.08323585987091064,
0.03621048852801323,
-0.13146869838237762,
-0.06678570061922073,
-0.02779187262058258,
0.049739040434360504,
0.02102039009332657,
-0.0368017703294754,
-0.006370215211063623,
0.03354133665561676,
0.0483... | 0.039059 |
References to parent router names for multi-layer routing. When specified, this router becomes a child router that processes requests after parent routers have applied their middlewares. See [Multi-Layer Routing](../routing/multi-layer-routing.md) for details. | | No | | [`service`](#opt-service "#opt-service") | The n... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/router.md | master | traefik | [
-0.11548931896686554,
0.007295756600797176,
-0.026592668145895004,
-0.06701502203941345,
-0.022651050239801407,
-0.09112204611301422,
-0.0003623505763243884,
-0.0072534880600869656,
0.07343386858701706,
-0.01880507916212082,
-0.034423891454935074,
0.010777192190289497,
-0.021205425262451172,... | 0.123544 |
An HTTP router is in charge of connecting incoming requests to the services that can handle them. Traefik allows you to define your matching rules and [prioritize](#priority-calculation) the routes. ## Rules Rules are a set of matchers configured with values, that determine if a particular request matches a specific cr... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/rules-and-priority.md | master | traefik | [
-0.1284772753715515,
0.04670170322060585,
-0.07883819192647934,
-0.043445441871881485,
-0.06863398104906082,
-0.08009085059165955,
0.05901983752846718,
0.027727089822292328,
-0.003435645718127489,
0.0037058903835713863,
0.010306965559720993,
0.013260353356599808,
-0.006019385065883398,
0.0... | 0.136262 |
of `example.com`.](#opt-Match-requests-sent-to-any-subdomain-of-example-com "#opt-Match-requests-sent-to-any-subdomain-of-example-com") | ```HostRegexp(`^.+\.example\.com$`)``` | | [Match requests with `Host` set to either `example.com` or `example.org`.](#opt-Match-requests-with-Host-set-to-either-example-com-or-examp... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/rules-and-priority.md | master | traefik | [
0.002929022768512368,
0.007749457843601704,
0.04004569724202156,
-0.034689366817474365,
-0.006928072310984135,
-0.08231166005134583,
-0.0031188230495899916,
-0.036800842732191086,
-0.04330555349588394,
0.025710318237543106,
-0.05608832836151123,
-0.06700856983661652,
0.06662337481975555,
0... | 0.013308 |
ruleSyntax: v3 Router-v2: rule: HostRegexp(`{subdomain:[a-z]+}.traefik.com`) ruleSyntax: v2 ``` ```toml tab="Structured (TOML)" ## Dynamic configuration [http.routers] [http.routers.Router-v3] rule = "HostRegexp(`[a-z]+\\.traefik\\.com`)" ruleSyntax = v3 [http.routers.Router-v2] rule = "HostRegexp(`{subdomain:[a-z]+}.t... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/rules-and-priority.md | master | traefik | [
-0.061895351856946945,
0.06966705620288849,
-0.08116967976093292,
-0.052811700850725174,
-0.005415997002273798,
-0.14531520009040833,
0.017102230340242386,
-0.0315731018781662,
-0.04896976426243782,
0.03332317993044853,
-0.02233925834298134,
-0.042716436088085175,
-0.011039236560463905,
-0... | -0.039629 |
Traefik's observability features include logs, access logs, metrics, and tracing. You can configure these options globally or at more specific levels, such as per router or per entry point. By default, the router observability configuration is inherited from the attached EntryPoints and can be configured with the obser... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/observability.md | master | traefik | [
-0.036544255912303925,
-0.01955980807542801,
-0.09420433640480042,
0.030041517689824104,
0.010070759803056717,
-0.12154538929462433,
-0.023397358134388924,
0.017388809472322464,
-0.036522042006254196,
0.0009360721451230347,
0.0029298746958374977,
-0.013575742021203041,
-0.06907661259174347,
... | 0.069165 |
# Multi-Layer Routing Hierarchical Router Relationships for Advanced Routing Scenarios. ## Overview Multi-layer routing enables you to create hierarchical relationships between routers, where parent routers can process requests through middleware before child routers make final routing decisions. This feature allows mi... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/multi-layer-routing.md | master | traefik | [
-0.1147531196475029,
-0.027821838855743408,
0.01588623598217964,
-0.06368467956781387,
0.048380009829998016,
-0.019515229389071465,
-0.06217322126030922,
0.04438335448503494,
-0.02415330335497856,
0.015872005373239517,
-0.03485720604658127,
-0.05341747775673866,
-0.010528093203902245,
0.05... | 0.131548 |
tab="KV (Consul/etcd/Redis/ZK)" | Key | Value | |------------------------------------------------------------------------|---------------------------------| | `traefik/http/routers/api-parent/rule` | `PathPrefix(\`/api\`)` | | `traefik/http/routers/api-parent/middlewares/0` | `auth-middleware` | | `traefik/http/routers... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/http/routing/multi-layer-routing.md | master | traefik | [
-0.06258779019117355,
0.07465312629938126,
-0.1514831781387329,
-0.06956395506858826,
0.027582164853811264,
-0.08975358307361603,
-0.007354340050369501,
0.05362378805875778,
-0.0161447711288929,
-0.0010953819146379828,
0.08576791733503342,
-0.06636340916156769,
0.03465386480093002,
-0.0164... | 0.041999 |
# Traefik & Kubernetes with Gateway API When using the Kubernetes Gateway API provider, Traefik leverages the Gateway API Custom Resource Definitions (CRDs) to obtain its routing configuration. For detailed information on the Gateway API concepts and resources, refer to the official [documentation](https://gateway-api.... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/gateway-api.md | master | traefik | [
-0.050904013216495514,
-0.0005984848830848932,
-0.01942029595375061,
0.0026967234443873167,
-0.047789834439754486,
-0.06202394887804985,
-0.0005192881217226386,
0.013721746392548084,
0.06692837923765182,
0.03629865497350693,
-0.0650552362203598,
-0.015336514450609684,
-0.06541197746992111,
... | 0.146967 |
the resource and concepts, check out the Kubernetes Gateway API [documentation](https://gateway-api.sigs.k8s.io/api-types/httproute/). For example, the following manifests configure a whoami backend and its corresponding `HTTPRoute`, reachable through the [deployed `Gateway`](#deploying-a-gateway) at the `http://whoami... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/gateway-api.md | master | traefik | [
-0.015698421746492386,
-0.001611938700079918,
-0.014930186793208122,
-0.014221376739442348,
-0.11741456389427185,
-0.03651870787143707,
-0.03608351945877075,
0.012819996103644371,
0.047026075422763824,
0.05578041076660156,
-0.03422936424612999,
-0.033332906663417816,
-0.049588393419981,
-0... | 0.147453 |
image: traefik/whoami --- apiVersion: v1 kind: Service metadata: name: whoami namespace: default spec: selector: app: whoami ports: - port: 80 ``` Once everything is deployed, sending a `GET` request should return the following response: ??? success "Response" ```shell $ curl http://whoami.localhost Hostname: whoami-69... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/gateway-api.md | master | traefik | [
-0.05454336851835251,
0.08521679788827896,
-0.04678264632821083,
-0.004391313064843416,
-0.04915265366435051,
-0.1175156682729721,
-0.017126886174082756,
-0.032231781631708145,
0.02269897423684597,
0.0345822274684906,
0.04879727214574814,
-0.09313903003931046,
-0.06891857087612152,
-0.0222... | 0.103164 |
the HTTP endpoint should return the following response: ??? success "Response" ```shell $ grpcurl -plaintext echo.localhost:80 gateway\_api\_conformance.echo\_basic.grpcecho.GrpcEcho/Echo { "assertions": { "fullyQualifiedMethod": "/gateway\_api\_conformance.echo\_basic.grpcecho.GrpcEcho/Echo", "headers": [ { "key": "x-... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/gateway-api.md | master | traefik | [
0.0040407609194517136,
0.09784181416034698,
-0.06677191704511642,
-0.049232978373765945,
-0.0021517728455364704,
-0.04789179936051369,
0.005008662585169077,
-0.011539673432707787,
-0.00006693072646157816,
-0.003192746313288808,
0.01031400915235281,
-0.0852174311876297,
-0.06904815137386322,
... | -0.001134 |
success "Response" ```shell $ openssl s\_client -quiet -connect localhost:3443 -servername whoami.localhost Connecting to ::1 depth=0 C=FR, L=Lyon, O=Traefik Labs, CN=Whoami verify error:num=18:self-signed certificate verify return:1 depth=0 C=FR, L=Lyon, O=Traefik Labs, CN=Whoami verify return:1 WHO Hostname: whoamitc... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/gateway-api.md | master | traefik | [
-0.05600356310606003,
0.03784104064106941,
-0.0728730857372284,
-0.011498193256556988,
-0.06641285866498947,
-0.11091059446334839,
0.03482770547270775,
-0.003949292469769716,
0.050391215831041336,
0.042094722390174866,
-0.04914947971701622,
-0.07657419890165329,
-0.03188646584749222,
-0.02... | 0.140875 |
# Traefik & Ingresses with NGINX Annotations Enable seamless migration from NGINX Ingress Controller to Traefik with NGINX annotation compatibility. {: .subtitle } !!! warning "NGINX Ingress Controller Retirement" The Kubernetes NGINX Ingress Controller project has announced its retirement in \*\*March 2026\*\* and wil... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.11355010420084,
0.03919979929924011,
-0.03836138918995857,
-0.008042990230023861,
0.008267863653600216,
-0.08491957932710648,
0.005671520251780748,
-0.035012003034353256,
-0.017846211791038513,
0.06759100407361984,
-0.004221605136990547,
-0.04810269922018051,
-0.03131480887532234,
-0.05... | 0.196437 |
whoami ports: - name: http port: 80 ``` ```yaml tab="Ingress" --- apiVersion: networking.k8s.io/v1 kind: IngressClass metadata: name: nginx spec: controller: k8s.io/ingress-nginx --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: myingress spec: ingressClassName: nginx rules: - host: whoami.localhost ht... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.07116975635290146,
0.059453800320625305,
0.020114634186029434,
-0.02903444692492485,
-0.018589796498417854,
-0.045963697135448456,
0.01428286824375391,
-0.025792229920625687,
0.0050187972374260426,
0.07255879789590836,
-0.021622486412525177,
-0.08443433046340942,
-0.009581301361322403,
... | 0.199049 |
[`nginx.ingress.kubernetes.io/session-cookie-samesite`](#opt-nginx-ingress-kubernetes-iosession-cookie-samesite "#opt-nginx-ingress-kubernetes-iosession-cookie-samesite") | | | [`nginx.ingress.kubernetes.io/session-cookie-max-age`](#opt-nginx-ingress-kubernetes-iosession-cookie-max-age "#opt-nginx-ingress-kubernetes-io... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.03831535577774048,
0.0736401304602623,
-0.011177829466760159,
-0.01648440584540367,
0.001241437392309308,
-0.05073866620659828,
0.054422736167907715,
-0.03290439769625664,
0.022645628079771996,
0.04373422637581825,
-0.015009049326181412,
-0.0529635064303875,
-0.026826530694961548,
-0.01... | 0.074767 |
minimal variable interpolation by using the following NGINX variables: `$scheme`, `$host`, `$http\_\*`, `$hostname`, `$request\_uri`, `$request\_method`, `$query\_string`, `$args`, `$arg\_\*`, `$remote\_addr`, `$uri`, `$document\_uri`, `$server\_name`, `$server\_port`, `$content\_type`, `$content\_length`, `$cookie\_\*... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.10588888823986053,
0.08367792516946793,
-0.023636603727936745,
-0.01834735833108425,
-0.059106528759002686,
-0.09537238627672195,
0.08517370373010635,
0.0005245022475719452,
-0.006758523173630238,
0.061536066234111786,
0.0097853047773242,
-0.010896295309066772,
0.07280990481376648,
-0.0... | 0.062655 |
differently and session caching is not supported. NGINX supports sub-request based auth, while Traefik forwards the original request. - \*\*Session Affinity\*\*: Only persistent mode is supported. - \*\*Leader Election\*\*: Not supported; no cluster mode with leader election. - \*\*Load Balancing\*\*: Only round\_robin... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.10407788306474686,
0.08253458887338638,
-0.0697527602314949,
-0.0185285285115242,
-0.04509679600596428,
-0.14118267595767975,
0.0335087850689888,
-0.008608019910752773,
0.04619593918323517,
0.04763932153582573,
-0.03633607178926468,
-0.028355760499835014,
-0.061348240822553635,
-0.02946... | 0.103305 |
same way NGINX does. Some behaviors that are globally configurable in NGINX (such as default SSL redirect, rate limiting, or affinity) are currently not supported and cannot be overridden per-Ingress as in NGINX. These limitations are noted in the annotation tables below where applicable. | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress-nginx.md | master | traefik | [
-0.0026108326856046915,
0.0022068230900913477,
-0.009003924205899239,
0.030007414519786835,
-0.012182584032416344,
-0.04712238535284996,
-0.036310963332653046,
-0.07007267326116562,
0.0765049159526825,
0.0006199335912242532,
-0.003291947301477194,
0.02468341961503029,
0.030512835830450058,
... | 0.076641 |
# Traefik & Knative When using the Knative provider, Traefik leverages Knative's Custom Resource Definitions (CRDs) to obtain its routing configuration. For detailed information on Knative concepts and resources, refer to the official [documentation](https://knative.dev/docs/). The Knative provider supports versions [v... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/knative.md | master | traefik | [
-0.08515043556690216,
-0.04184911400079727,
-0.0533607192337513,
-0.06901843845844269,
-0.0452064573764801,
-0.10572447627782822,
0.07222326844930649,
-0.009054822847247124,
0.015864869579672813,
0.034894686192274094,
-0.011107430793344975,
0.04689718410372734,
0.00966043584048748,
-0.0461... | 0.23531 |
# Traefik & Kubernetes with Ingress ## Routing Configuration The Kubernetes Ingress provider watches for incoming ingresses events, such as the example below, and derives the corresponding dynamic configuration from it, which in turn will create the resulting routers, services, handlers, etc. ## Configuration Example `... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress.md | master | traefik | [
-0.0672200471162796,
0.030359989032149315,
0.022444121539592743,
0.006892625242471695,
-0.025963211432099342,
-0.07056097686290741,
0.0731305181980133,
-0.019686611369252205,
0.08289362490177155,
0.061618782579898834,
-0.02180788852274418,
-0.0779394656419754,
-0.017529724165797234,
-0.001... | 0.220887 |
forward the Host header to the backend. | `"true"` | | [`traefik.ingress.kubernetes.io/service.sticky.cookie`](#opt-traefik-ingress-kubernetes-ioservice-sticky-cookie "#opt-traefik-ingress-kubernetes-ioservice-sticky-cookie") | Enables sticky sessions using cookies. See [sticky sessions](../kubernetes/crd/http/traefiks... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress.md | master | traefik | [
-0.06695248186588287,
0.044710978865623474,
-0.05463045835494995,
0.00909592304378748,
0.012177658267319202,
-0.13439281284809113,
0.0584208182990551,
-0.024773621931672096,
0.00810595229268074,
0.04888545349240303,
0.0006907585775479674,
-0.04259262979030609,
-0.01804358698427677,
-0.0115... | 0.103055 |
- containerPort: 80 --- apiVersion: v1 kind: Service metadata: name: whoami spec: ports: - name: http port: 80 selector: app: traefiklabs task: whoami ``` ### Enabling TLS via Annotations To enable TLS on the underlying router created from an Ingress, one should configure it through annotations: ```yaml traefik.ingress... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress.md | master | traefik | [
-0.05817357078194618,
0.0863092765212059,
-0.013753914274275303,
-0.03429893031716347,
-0.008559896610677242,
-0.06260509043931961,
0.024701159447431564,
-0.04207253456115723,
0.05794494226574898,
0.05615031719207764,
-0.01918887160718441,
-0.07622236758470535,
-0.027122249826788902,
0.045... | 0.123766 |
follows the Global Default Backend property of ingresses. This will allow users to create a "default router" that will match all unmatched requests. !!! info Due to Traefik's use of priorities, you may have to set this ingress priority lower than other ingresses in your environment, to avoid this global ingress from sa... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/ingress.md | master | traefik | [
-0.0361209474503994,
0.054864827543497086,
-0.014488572254776955,
-0.017800722271203995,
-0.03643040731549263,
-0.1143636703491211,
0.026875482872128487,
-0.034098561853170395,
0.029751135036349297,
0.01597416214644909,
-0.035907674580812454,
-0.030637497082352638,
-0.03722209483385086,
-0... | 0.14024 |
`IngressRouteUDP` is the CRD implementation of a [Traefik UDP router](../../../udp/routing/rules-priority.md). Before creating `IngressRouteUDP` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes cluster... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/udp/ingressrouteudp.md | master | traefik | [
-0.05089293047785759,
0.01649240218102932,
-0.0601043738424778,
-0.0019126302795484662,
-0.03312430903315544,
-0.06777895987033844,
0.026714270934462547,
0.03573636710643768,
0.021973971277475357,
0.07554365694522858,
-0.023752611130475998,
-0.0771448090672493,
-0.04389697313308716,
-0.036... | 0.181093 |
apps spec: externalName: external.domain type: ExternalName ports: - port: 80 ``` ### NativeLB To avoid creating the server load-balancer with the pods IPs and use Kubernetes Service `clusterIP` directly, one should set the `NativeLB` option to true. By default, `NativeLB` is false. ```yaml tab="IngressRouteUDP" apiVer... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/udp/ingressrouteudp.md | master | traefik | [
-0.024513009935617447,
-0.03681366145610809,
-0.03322480246424675,
-0.0209518913179636,
-0.06375949829816818,
-0.07914534956216812,
-0.02130989544093609,
0.004437887575477362,
0.05963068827986717,
0.06545837968587875,
-0.018247822299599648,
-0.0907522663474083,
-0.05745925381779671,
-0.022... | 0.184784 |
The TLS options allow you to configure some parameters of the TLS connection in Traefik. Before creating `TLSOption` objects or referencing TLS options in the [`IngressRoute`](../http/ingressroute.md) / [`IngressRouteTCP`](../tcp/ingressroutetcp.md) objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.t... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tls/tlsoption.md | master | traefik | [
-0.09242527931928635,
0.02882743999361992,
-0.039214760065078735,
-0.0034338468685746193,
-0.09472817182540894,
-0.07724026590585709,
0.048068031668663025,
0.007276579737663269,
0.08429953455924988,
0.012353568337857723,
-0.021612778306007385,
-0.11221226304769516,
-0.0026162450667470694,
... | 0.118935 |
the behavior as follows: - `NoClientCert`: disregards any client certificate. - `RequestClientCert`: asks for a certificate but proceeds anyway if none is provided. - `RequireAnyClientCert`: requires a certificate but does not verify if it is signed by a CA listed in `clientAuth.caFiles` or in `clientAuth.secretNames`.... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tls/tlsoption.md | master | traefik | [
-0.08467771112918854,
0.07065921276807785,
0.02549932897090912,
0.02169741317629814,
0.027149902656674385,
-0.09599452465772629,
0.0402047298848629,
-0.026281554251909256,
0.08670096099376678,
-0.030775992199778557,
0.020801622420549393,
-0.1450432986021042,
0.1151147410273552,
0.081332899... | -0.019031 |
In Traefik, certificates are grouped together in certificates stores. `TLSStore` is the CRD implementation of a [Traefik TLS Store](../../../http/tls/tls-certificates.md#certificates-stores). Before creating `TLSStore` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dyn... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tls/tlsstore.md | master | traefik | [
-0.05047667399048805,
0.03122168406844139,
-0.03690307214856148,
0.010295705869793892,
-0.07506243139505386,
-0.07136203348636627,
0.009177346713840961,
-0.013189916498959064,
0.10596941411495209,
0.01523627433925867,
-0.0016490791458636522,
-0.09634605795145035,
0.005038219504058361,
-0.0... | 0.046602 |
`IngressRouteTCP` is the CRD implementation of a [Traefik TCP router](../../../tcp/routing/rules-and-priority.md). Before creating `IngressRouteTCP` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes clu... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tcp/ingressroutetcp.md | master | traefik | [
-0.07775542140007019,
0.04499942809343338,
-0.031113045290112495,
-0.001320679672062397,
-0.04984612762928009,
-0.07954632490873337,
0.010620576329529285,
0.02006402611732483,
0.05565466359257698,
0.04506774619221687,
-0.031037945300340652,
-0.09350484609603882,
-0.04077036306262016,
-0.06... | 0.162363 |
| | [`tls.options.namespace`](#opt-tls-options-namespace "#opt-tls-options-namespace") | Defines the [TLSOption](../tls/tlsoption.md) namespace. | "" | No | | [`tls.certResolver`](#opt-tls-certResolver "#opt-tls-certResolver") | Defines the reference to a [CertResolver](../../../../install-configuration/tls/certificate... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tcp/ingressroutetcp.md | master | traefik | [
-0.021383142098784447,
0.04221852496266365,
-0.061698026955127716,
-0.060014866292476654,
0.008683735504746437,
-0.11918120831251144,
-0.005470368545502424,
-0.014380628243088722,
0.00922484416514635,
-0.03998478129506111,
0.008670629002153873,
-0.03972800448536873,
0.038703907281160355,
0... | -0.117687 |
`ServersTransportTCP` is the CRD implementation of [ServersTransportTCP](../../../tcp/serverstransport.md). Before creating `ServersTransportTCP` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes cluste... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tcp/serverstransporttcp.md | master | traefik | [
-0.05647766590118408,
-0.005864767823368311,
-0.06746844202280045,
-0.019752616062760353,
-0.05158893018960953,
-0.05065065249800682,
0.060235027223825455,
0.007359448354691267,
0.03164111450314522,
0.045446474105119705,
0.022564642131328583,
-0.10087351500988007,
-0.025764232501387596,
-0... | 0.17833 |
`MiddlewareTCP` is the CRD implementation of a [Traefik TCP middleware](../../../tcp/middlewares/overview.md). Before creating `MiddlewareTCP` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes cluster. ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/tcp/middlewaretcp.md | master | traefik | [
-0.10021638870239258,
-0.010643848218023777,
-0.00027415042859502137,
-0.05101954564452171,
-0.017570845782756805,
-0.04552404582500458,
0.06505001336336136,
0.03133266791701317,
0.05556628108024597,
0.017038680613040924,
-0.03314739093184471,
-0.1249404177069664,
-0.00926131010055542,
-0.... | 0.191227 |
A `TraefikService` is a custom resource that sits on top of the Kubernetes Services. It enables advanced load-balancing features such as a [Weighted Round Robin](#weighted-round-robin) load balancing, a [Highest Random Weight](#highest-random-weight) load balancing, a [Mirroring](#mirroring), or a [Failover](#failover)... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.07881106436252594,
0.011263497173786163,
-0.03817570582032204,
-0.02020115777850151,
-0.06914553046226501,
-0.10958642512559891,
0.042827170342206955,
0.0042379735969007015,
0.08146968483924866,
0.04219809174537659,
-0.08181580156087875,
-0.015039633959531784,
-0.034970127046108246,
-0.... | 0.23251 |
| Allow the cookie used for the stickiness at the WRR service level to be accessed by client-side APIs, such as JavaScript. More information about WRR stickiness [here](#stickiness-on-multiple-levels) | false | No | | [`sticky.` `cookie.secure`](#opt-sticky-cookie-secure "#opt-sticky-cookie-secure") | Allow the cookie ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.11078160256147385,
-0.047771845012903214,
-0.06880854070186615,
0.046704862266778946,
0.06429728120565414,
-0.11881469190120697,
0.0441715344786644,
-0.05178751051425934,
-0.03910494223237038,
-0.10836604982614517,
0.04147771745920181,
0.0614115409553051,
0.02358749508857727,
0.07352121... | -0.012764 |
secretName: supersecret ``` ```yaml tab="TraefikService HRW" apiVersion: traefik.io/v1alpha1 kind: TraefikService metadata: name: hrw1 namespace: apps spec: highestRandomWeight: services: # Kubernetes Service with weight 10 - name: svc1 namespace: apps port: 80 weight: 10 # Kubernetes Service with weight 20 - name: svc... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.017398536205291748,
-0.0155273312702775,
-0.05867154523730278,
-0.033509284257888794,
-0.01776120625436306,
-0.07798466086387634,
0.046268269419670105,
-0.020388254895806313,
0.07993465662002563,
0.04681147634983063,
0.038688041269779205,
-0.08403539657592773,
-0.033359117805957794,
-0.... | 0.140858 |
| | [`services[m].` `healthCheck.unhealthyInterval`](#opt-servicesm-healthCheck-unhealthyInterval "#opt-servicesm-healthCheck-unhealthyInterval") | Frequency of the health check calls for unhealthy targets. When not defined, it defaults to the `interval` value. Evaluated only if the kind is \*\*Service\*\*. Only for [K... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
0.019415775313973427,
0.04844086989760399,
-0.035555362701416016,
-0.02731400914490223,
-0.014429891481995583,
-0.038686562329530716,
0.07989335805177689,
-0.0018025367753580213,
0.054305851459503174,
-0.014608950354158878,
0.028612704947590828,
-0.03361039236187935,
0.014588518999516964,
... | 0.135972 |
| ### How HRW Works The Highest Random Weight algorithm combines consistent hashing with weighted load balancing: 1. \*\*Consistent Hashing\*\*: For each incoming request, the client's remote address is hashed to ensure consistent routing. 2. \*\*Weighted Selection\*\*: Each service is assigned a random value based on ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.13329988718032837,
-0.002156778471544385,
-0.025847934186458588,
-0.02464696392416954,
-0.01817818358540535,
-0.07869325578212738,
0.0895552933216095,
-0.037481360137462616,
0.005440708249807358,
0.023442784324288368,
-0.04768652468919754,
0.047581810504198074,
0.05271854251623154,
-0.0... | 0.176902 |
mirror main service dedicated option are described below. | Field | Description | Default | Required | |:--------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.014612196944653988,
-0.04262271150946617,
0.011398539878427982,
-0.060687270015478134,
-0.09256637096405029,
-0.02376626804471016,
-0.03907046839594841,
-0.014102419838309288,
-0.03689282387495041,
-0.011653779074549675,
0.004383888095617294,
-0.03537379577755928,
-0.002894254168495536,
... | 0.011031 |
of the request. If the body is larger, the request is not replayed to the fallback service. -1 means unlimited size. | -1 | No | | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/traefikservice.md | master | traefik | [
-0.08542371541261673,
0.04667032137513161,
0.005652640014886856,
-0.00022290277411229908,
-0.017844561487436295,
-0.09303279966115952,
0.015869593247771263,
0.039291542023420334,
-0.0050086164847016335,
-0.00945967249572277,
0.060653168708086014,
0.07682090997695923,
0.017451072111725807,
... | 0.042697 |
`Middleware` is the CRD implementation of a [Traefik middleware](../../../http/middlewares/overview.md). Before creating `Middleware` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes cluster. This regi... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/middleware.md | master | traefik | [
-0.1000092476606369,
-0.03687959909439087,
0.0063254679553210735,
-0.054350439459085464,
-0.01254237536340952,
-0.04694316163659096,
0.04827157035470009,
0.023935670033097267,
0.0530511774122715,
0.0235472172498703,
-0.02603057026863098,
-0.11775913834571838,
0.0014764717780053616,
-0.0346... | 0.180436 |
A `ServersTransport` allows you to configure the connection between Traefik and the HTTP servers in Kubernetes. Before creating `ServersTransport` objects, you need to apply the [Traefik Kubernetes CRDs](https://doc.traefik.io/traefik/reference/dynamic-configuration/kubernetes-crd/#definitions) to your Kubernetes clust... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/serverstransport.md | master | traefik | [
-0.06869401037693024,
-0.008146914653480053,
-0.10892841219902039,
-0.007709103170782328,
-0.07576727122068405,
-0.08001591265201569,
0.04017690569162369,
0.003943705931305885,
0.037812765687704086,
0.06697749346494675,
-0.004621995147317648,
-0.06606341898441315,
-0.02479277364909649,
-0.... | 0.164146 |
`maxVersion`](#opt-serverstransport-maxVersion "#opt-serverstransport-maxVersion") | Defines the maximum TLS version to use when contacting backend servers. | "" | No | | [`serverstransport.` `maxIdleConnsPerHost`](#opt-serverstransport-maxIdleConnsPerHost-2 "#opt-serverstransport-maxIdleConnsPerHost-2") | Maximum idle... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/serverstransport.md | master | traefik | [
-0.03998827189207077,
0.018793679773807526,
-0.06771247088909149,
-0.03562655672430992,
-0.01776963286101818,
-0.07749877870082855,
-0.04395569488406181,
-0.042722124606370926,
0.006196861620992422,
0.022884154692292213,
0.03922783583402634,
0.033452291041612625,
0.031148023903369904,
0.03... | 0.043478 |
`Service` is the implementation of a [Traefik HTTP service](../../../http/load-balancing/service.md). There is no dedicated CRD, a `Service` is part of: - [`IngressRoute`](./ingressroute.md) - [`TraefikService`](./traefikservice.md) Note that, before creating `IngressRoute` or `TraefikService` objects, you need to appl... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/service.md | master | traefik | [
-0.11967334896326065,
0.023510601371526718,
-0.09431758522987366,
-0.04045423865318298,
-0.057579342275857925,
-0.09301110357046127,
0.04311415180563927,
0.010504132136702538,
0.04428473487496376,
0.038901906460523605,
-0.03264942765235901,
-0.04175417125225067,
-0.0009398434776812792,
-0.... | 0.174285 |
only if the kind is \*\*Service\*\*. Only for [Kubernetes service](https://kubernetes.io/docs/concepts/services-networking/service/) of type [ExternalName](#externalname-service). | "" | No | | [`healthCheck.interval`](#opt-healthCheck-interval "#opt-healthCheck-interval") | Frequency of the health check calls for heal... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/service.md | master | traefik | [
0.004770117811858654,
0.04915960505604744,
-0.0020013737957924604,
-0.001052710460498929,
0.008505660109221935,
-0.03330804035067558,
0.08935441821813583,
-0.03131955489516258,
0.057568877935409546,
-0.04238560423254967,
0.03006432019174099,
-0.03944110870361328,
0.012264584191143513,
0.00... | 0.13384 |
the servers. Supported values are: wrr (Weighed round-robin), p2c (Power of two choices), hrw (Highest Random Weight), and leasttime (Least-Time). Evaluated only if the kind is \*\*Service\*\*. | "RoundRobin" | No | | [`nativeLB`](#opt-nativeLB "#opt-nativeLB") | Allow using the Kubernetes Service load balancing betwee... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/service.md | master | traefik | [
-0.0379137322306633,
0.01404991839081049,
-0.04853121191263199,
-0.006682777311652899,
-0.016786715015769005,
-0.07993637025356293,
0.041069094091653824,
-0.0038071239832788706,
0.021335281431674957,
0.049155738204717636,
-0.03805696964263916,
-0.07292978465557098,
-0.03142979368567467,
-0... | 0.229602 |
--- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: test.route namespace: default spec: entryPoints: - foo routes: - match: Host(`example.net`) kind: Rule services: - name: external-svc --- apiVersion: v1 kind: Service metadata: name: external-svc namespace: default spec: externalName: external.domai... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/service.md | master | traefik | [
-0.0586433969438076,
-0.036100223660469055,
-0.08825650066137314,
-0.014674162492156029,
-0.02862626500427723,
-0.07952291518449783,
-0.005263597704470158,
0.0015887853223830462,
0.045348845422267914,
0.06865093111991882,
-0.04865267127752304,
-0.0693397969007492,
-0.052222613245248795,
-0... | 0.145641 |
`IngressRoute` is the CRD implementation of a [Traefik HTTP router](../../../http/routing/rules-and-priority.md). Before creating `IngressRoute` objects, you need to apply the Traefik Kubernetes CRDs such as [Definitions](/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml) and [RBAC](/docs/c... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/ingressroute.md | master | traefik | [
-0.07670257985591888,
0.0126732736825943,
-0.05826316401362419,
0.022710448130965233,
-0.05227498337626457,
-0.05744088068604469,
0.006823196075856686,
0.02288109064102173,
0.03524242341518402,
0.06452532857656479,
-0.03866293653845787,
-0.08276589214801788,
-0.029771575704216957,
-0.05806... | 0.173032 |
| Defines whether the route will produce [access-logs](../../../../install-configuration/observability/logs-and-accesslogs.md). See [here](../../../http/routing/observability.md) for more information. | false | No | | [`routes[n].` `observability.` `metrics`](#opt-routesn-observability-metrics "#opt-routesn-observabili... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/ingressroute.md | master | traefik | [
0.04363533854484558,
0.005726843141019344,
-0.07828852534294128,
0.025623885914683342,
0.023689253255724907,
-0.045617979019880295,
-0.007155015133321285,
-0.0068285814486444,
-0.07614754140377045,
-0.0013825201895087957,
0.013452299870550632,
-0.02642340399324894,
-0.004093538504093885,
0... | 0.056771 |
it all happens before routing actually occurs. In the case of domain fronting, if the TLS options associated with the Host Header and the SNI are different then Traefik will respond with a status code `421`. #### Conflicting TLS Options Since a TLS options reference is mapped to a host name, if a configuration introduc... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/ingressroute.md | master | traefik | [
-0.07553195208311081,
0.024867715314030647,
-0.046783145517110825,
-0.01210587564855814,
-0.008613202720880508,
-0.16404831409454346,
0.017178582027554512,
-0.04828924313187599,
0.07546871900558472,
0.02052224613726139,
-0.01157151348888874,
-0.03425725921988487,
-0.006781989708542824,
-0.... | 0.084547 |
8080 selector: app: auth-service --- apiVersion: v1 kind: Service metadata: name: admin-service namespace: default spec: ports: - port: 80 selector: app: admin-backend --- apiVersion: v1 kind: Service metadata: name: user-service namespace: default spec: ports: - port: 80 selector: app: user-backend ``` \*\*How it work... | https://github.com/traefik/traefik/blob/master/docs/content/reference/routing-configuration/kubernetes/crd/http/ingressroute.md | master | traefik | [
-0.07544025033712387,
0.026345521211624146,
0.004014114383608103,
-0.07748279720544815,
0.07244820892810822,
-0.08688843995332718,
0.012388654053211212,
-0.008811996318399906,
0.006400757469236851,
0.04465988650918007,
-0.008535047061741352,
-0.02808418683707714,
0.027747226879000664,
0.06... | 0.039045 |
Listening for Incoming Connections/Requests {: .subtitle } ### Configuration Example ```yaml tab="File (YAML)" entryPoints: web: address: :80 http: redirections: entryPoint: to: websecure scheme: https permanent: true observability: accessLogs: false metrics: false tracing: false websecure: address: :443 http: tls: {} ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.0012645061360672116,
0.04455938935279846,
0.0077010253444314,
-0.09765556454658508,
-0.037357598543167114,
-0.09000343829393387,
0.012944009155035019,
-0.0851643979549408,
0.09285255521535873,
0.03313373029232025,
-0.01733766309916973,
-0.06834427267313004,
-0.0005972553044557571,
-0.00... | 0.062225 |
on 64-bit) | No | | [`http.encodedCharacters`](#opt-http-encodedCharacters "#opt-http-encodedCharacters") | Defines which encoded characters are allowed in the request path. More information [here](#encoded-characters). | false | No | | [`http.encodedCharacters.` `allowEncodedSlash`](#opt-http-encodedCharacters-allowEn... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.05339861661195755,
-0.05639798566699028,
-0.06030719727277756,
-0.011708983220160007,
-0.05140306428074837,
-0.04837281256914139,
-0.08592721074819565,
-0.05896194651722908,
-0.025214089080691338,
0.013708220794796944,
0.05508177727460861,
0.015936339274048805,
0.030797557905316353,
0.0... | -0.064542 |
sending headers to the client, allowing the server to reduce the amount of duplicate headers it is sending in responses. This value is only a maximum, the other end of the connection can use a lower size. | 4096 | No | | [`http3`](#opt-http3 "#opt-http3") | Enable HTTP/3 protocol on the `entryPoint`. HTTP/3 requires a ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.08787529915571213,
0.020930524915456772,
-0.09897720813751221,
-0.07755815237760544,
-0.036963582038879395,
-0.13302414119243622,
0.021347448229789734,
-0.025826843455433846,
0.07145396620035172,
-0.007708890363574028,
-0.002886804286390543,
-0.007450054865330458,
0.015919355675578117,
... | 0.105946 |
units are provided, the value is parsed assuming seconds. | 60s (seconds) | No | | [`transport.` `respondingTimeouts.` `writeTimeout`](#opt-transport-respondingTimeouts-writeTimeout "#opt-transport-respondingTimeouts-writeTimeout") | Maximum duration before timing out writes of the response. It covers the time from the... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
0.009463381953537464,
0.09752215445041656,
-0.06854459643363953,
0.04245661944150925,
-0.04211023449897766,
-0.009974800981581211,
0.011418071575462818,
0.06216020509600639,
0.049352534115314484,
-0.032026588916778564,
0.01579023152589798,
-0.03135475143790245,
-0.0013253458309918642,
0.02... | 0.118979 |
passthrough is enabled on the entrypoint, allowing user-defined TLS routers to handle TLS challenges. This is useful when you need custom handling of ACME challenges, for example when using a dedicated service to solve HTTP-01 or TLS-ALPN-01 challenges. !!! note When no TLS challenge resolver is configured, `allowACMEB... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.12454262375831604,
0.03840268775820732,
-0.023060128092765808,
0.03577326983213425,
-0.023834949359297752,
-0.015056122094392776,
-0.03172246366739273,
-0.03149290010333061,
-0.0029428969137370586,
-0.02349006198346615,
-0.02799716778099537,
-0.035017695277929306,
0.05292762443423271,
0... | 0.049693 |
in the requets path, it is recommended to set these options to `false` to avoid split-view situation and helps prevent path traversal attacks or other malicious attempts to bypass security controls. Here is the list of the encoded characters that are allowed by default: | Encoded Character | Character | |--------------... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.06546676158905029,
0.041326526552438736,
-0.04062439501285553,
-0.06812328845262527,
-0.06911693513393402,
0.012563370168209076,
0.007159352768212557,
0.008223950862884521,
0.03682458773255348,
-0.015418794937431812,
0.07238944619894028,
-0.001082352944649756,
0.02419469505548477,
0.052... | -0.077684 |
It will be ignored on other platforms. There is a known bug in the Linux kernel that may cause unintended TCP connection failures when using the `reusePort` option. For more details, see [here](https://lwn.net/Articles/853637/). #### Canary deployment Use the `reusePort` option with the other option `transport.lifeCycl... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/entrypoints.md | master | traefik | [
-0.03723621368408203,
-0.01124531589448452,
-0.0550251342356205,
0.030989594757556915,
0.02598070539534092,
-0.14578215777873993,
0.021929480135440826,
-0.010117652826011181,
-0.02462952956557274,
-0.046607792377471924,
0.012955231592059135,
0.027433600276708603,
-0.05810171738266945,
-0.0... | 0.129535 |
# Boot Environment Traefik Proxy’s configuration is divided into two main categories: - \*\*Install Configuration\*\*: (formerly known as the static configuration) Defines parameters that require Traefik to restart when changed. This includes entry points, providers, API/dashboard settings, and logging levels. - \*\*Ro... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/boot-environment.md | master | traefik | [
-0.06295393407344818,
0.009387818165123463,
-0.04471159726381302,
-0.049982380121946335,
-0.021815964952111244,
-0.12829218804836273,
0.041685957461595535,
0.023975325748324394,
-0.04208293929696083,
0.016622407361865044,
0.019557666033506393,
0.008968687616288662,
-0.019830597564578056,
-... | 0.126828 |
Traefik exposes a number of information through API endpoints, such as the configuration of your routers, services, middlewares, etc. The dashboard, which is the central place that displays the current active routes handled by Traefik, fetches the data from this API. The dashboard in action ## Security Enabling the API... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/api-dashboard.md | master | traefik | [
-0.060866452753543854,
0.060492776334285736,
-0.15673738718032837,
-0.04078066721558571,
0.007016587536782026,
-0.13890773057937622,
-0.0052567399106919765,
0.06073837727308273,
0.002334144664928317,
0.03529435768723488,
0.011658496223390102,
-0.009737464599311352,
0.00683697871863842,
-0.... | 0.148271 |
"#opt-api-disabledashboardad") | Disable the advertisement from the dashboard. | false | No | | [`api.insecure`](#opt-api-insecure "#opt-api-insecure") | Enable the API and the dashboard on the entryPoint named traefik. Please note that this mode is incompatible with the custom API [base path option](#opt-api-basepath)... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/api-dashboard.md | master | traefik | [
-0.03172752261161804,
0.07410342246294022,
-0.1595800817012787,
-0.004905948415398598,
0.03557714819908142,
-0.10021524876356125,
-0.0023627588525414467,
0.0011792498407885432,
0.011240369640290737,
-0.044107042253017426,
0.034973952919244766,
-0.02724112942814827,
0.03556671738624573,
0.0... | 0.058477 |
configuration within Traefik. This involves setting up a router attached to the service `api@internal`, which allows you to: - Implement security features using [middlewares](../../reference/routing-configuration/http/middlewares/overview.md), such as authentication ([basicAuth](../../reference/routing-configuration/ht... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/api-dashboard.md | master | traefik | [
-0.0902225524187088,
0.049294326454401016,
-0.13934533298015594,
-0.08087742328643799,
0.02625693939626217,
-0.10034701973199844,
0.021405553445219994,
0.049205802381038666,
0.0019313686061650515,
0.02728160098195076,
-0.01684752106666565,
-0.0030718559864908457,
0.04216154292225838,
0.000... | 0.139853 |
# Install Configuration Options ## Configuration Options | Field | Description | Default | |:-------|:------------|:-------| | [accesslog](#opt-accesslog "#opt-accesslog") | Access log settings. | false | | [accesslog.addinternals](#opt-accesslog-addinternals "#opt-accesslog-addinternals") | Enables access log for inte... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
0.03249875083565712,
0.04076278954744339,
-0.05874331295490265,
0.019277675077319145,
-0.025987539440393448,
-0.07795684784650803,
0.05525917187333107,
-0.03005245327949524,
-0.011439953930675983,
0.01839541085064411,
0.0006727589061483741,
0.04524258151650429,
0.02076326310634613,
-0.0115... | 0.118804 |
CA in the system-wide trusted root list. | | | [certificatesresolvers.\_name\_.acme.caserver](#opt-certificatesresolvers-name-acme-caserver "#opt-certificatesresolvers-name-acme-caserver") | CA server to use. | https://acme-v02.api.letsencrypt.org/directory | | [certificatesresolvers.\_name\_.acme.caservername](#opt-ce... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.06872759759426117,
0.007489015813916922,
-0.08382183313369751,
0.01916811615228653,
0.008105332963168621,
-0.06265929341316223,
-0.016120700165629387,
0.07700268179178238,
0.006369021721184254,
-0.052565425634384155,
0.04408450052142143,
-0.07562261074781418,
0.10517825931310654,
0.0882... | -0.028521 |
to the list of default EntryPoints to be used on routers that don't have any Entrypoint defined. | false | | [entrypoints.\_name\_.forwardedheaders.connection](#opt-entrypoints-name-forwardedheaders-connection "#opt-entrypoints-name-forwardedheaders-connection") | List of Connection headers that are allowed to pass thr... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.051901668310165405,
-0.013376674614846706,
-0.029014799743890762,
-0.016868647187948227,
0.04991573095321655,
0.0215668473392725,
0.019233332946896553,
-0.008341651409864426,
-0.04178335517644882,
0.04125947132706642,
-0.007447659503668547,
0.01595047302544117,
0.07523364573717117,
0.00... | 0.016499 |
"#opt-entrypoints-name-observability-traceverbosity") | Defines the tracing verbosity level for this entryPoint. | minimal | | [entrypoints.\_name\_.observability.tracing](#opt-entrypoints-name-observability-tracing "#opt-entrypoints-name-observability-tracing") | Enables tracing for this entryPoint. | true | | [entryp... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.05564358830451965,
-0.030393928289413452,
-0.04179653152823448,
0.017366671934723854,
-0.001132026081904769,
-0.07082081586122513,
0.07402809709310532,
-0.04806649312376976,
-0.08658704906702042,
0.005416535306721926,
0.013459665700793266,
-0.016488051041960716,
0.04806220903992653,
0.0... | 0.015891 |
will be disabled by default. | false | | [hostresolver](#opt-hostresolver "#opt-hostresolver") | Enable CNAME Flattening. | false | | [hostresolver.cnameflattening](#opt-hostresolver-cnameflattening "#opt-hostresolver-cnameflattening") | A flag to enable/disable CNAME flattening | false | | [hostresolver.resolvconfig](... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.05775199085474014,
-0.03890412673354149,
-0.04506495222449303,
-0.05559864640235901,
-0.06472282111644745,
-0.1106916144490242,
-0.07721158117055893,
-0.00920923426747322,
0.008969790302217007,
0.033395107835531235,
0.01054875086992979,
0.03067164123058319,
-0.0225687213242054,
-0.01602... | 0.030573 |
Enable metrics on services. | true | | [metrics.influxdb2.bucket](#opt-metrics-influxdb2-bucket "#opt-metrics-influxdb2-bucket") | InfluxDB v2 bucket ID. | | | [metrics.influxdb2.org](#opt-metrics-influxdb2-org "#opt-metrics-influxdb2-org") | InfluxDB v2 org ID. | | | [metrics.influxdb2.pushinterval](#opt-metrics-influ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.05164147913455963,
-0.07167081534862518,
-0.013831582851707935,
0.04917696863412857,
-0.0325869545340538,
-0.06671559810638428,
0.017450058832764626,
0.00608847476541996,
0.04800379276275635,
0.00493355980142951,
-0.02517511509358883,
-0.08709229528903961,
0.02412799559533596,
0.0039883... | 0.081527 |
| traefik | | [ping.manualrouting](#opt-ping-manualrouting "#opt-ping-manualrouting") | Manual routing | false | | [ping.terminatingstatuscode](#opt-ping-terminatingstatuscode "#opt-ping-terminatingstatuscode") | Terminating status code | 503 | | [providers.consul](#opt-providers-consul "#opt-providers-consul") | Enabl... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
0.015603134408593178,
-0.008898628875613213,
-0.13675947487354279,
-0.028874605894088745,
-0.05828187242150307,
-0.06510424613952637,
-0.016375040635466576,
0.045126937329769135,
-0.02430645376443863,
0.049836475402116776,
0.08128730952739716,
-0.046637363731861115,
-0.04271038994193077,
0... | 0.126945 |
normalize .Name }}`) | | [providers.docker.endpoint](#opt-providers-docker-endpoint "#opt-providers-docker-endpoint") | Docker server endpoint. Can be a TCP or a Unix socket endpoint. | unix:///var/run/docker.sock | | [providers.docker.exposedbydefault](#opt-providers-docker-exposedbydefault "#opt-providers-docker-expo... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
0.015122976154088974,
0.08489429950714111,
-0.036647409200668335,
0.053166259080171585,
-0.0041227019391953945,
-0.06056142970919609,
-0.003923891577869654,
-0.0024971102830022573,
-0.02497507631778717,
0.03289302811026573,
-0.03327235206961632,
-0.013813206925988197,
0.029090052470564842,
... | -0.018709 |
| TLS key | | | [providers.knative](#opt-providers-knative "#opt-providers-knative") | Enables Knative provider. | false | | [providers.knative.certauthfilepath](#opt-providers-knative-certauthfilepath "#opt-providers-knative-certauthfilepath") | Kubernetes certificate authority file path (not needed for in-cluster cli... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
0.022457150742411613,
-0.006107991095632315,
0.009289062581956387,
-0.029746519401669502,
-0.03445271775126457,
0.0007710676873102784,
0.030550625175237656,
-0.049545496702194214,
0.09537487477064133,
0.003088366938754916,
-0.00029259719303809106,
-0.09181105345487595,
0.02493375353515148,
... | 0.088751 |
set Kubernetes Gateway status address. | | | [providers.kubernetesgateway.statusaddress.service](#opt-providers-kubernetesgateway-statusaddress-service "#opt-providers-kubernetesgateway-statusaddress-service") | Published Kubernetes Service to copy status addresses from. | | | [providers.kubernetesgateway.statusaddress... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.010569228790700436,
-0.03357076272368431,
-0.0028363207820802927,
-0.020769795402884483,
-0.06138363108038902,
-0.027199309319257736,
0.027514925226569176,
-0.09130613505840302,
0.017671965062618256,
0.05902225151658058,
-0.012555435299873352,
-0.023762166500091553,
0.01235087402164936,
... | 0.034578 |
ingress auth-url annotation has precedence over this option. | | | [providers.kubernetesingressnginx.httpentrypoint](#opt-providers-kubernetesingressnginx-httpentrypoint "#opt-providers-kubernetesingressnginx-httpentrypoint") | Defines the EntryPoint to use for HTTP requests. | | | [providers.kubernetesingressnginx.htt... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.06466959416866302,
0.0776020810008049,
0.02023981139063835,
0.004051170777529478,
-0.007674437016248703,
0.017591863870620728,
0.058108244091272354,
-0.047836463898420334,
0.025403684005141258,
0.06602207571268082,
-0.013133508153259754,
-0.07682966440916061,
0.02478904463350773,
0.0070... | 0.06336 |
| | [providers.nomad.defaultrule](#opt-providers-nomad-defaultrule "#opt-providers-nomad-defaultrule") | Default rule. | Host(`{{ normalize .Name }}`) | | [providers.nomad.endpoint.address](#opt-providers-nomad-endpoint-address "#opt-providers-nomad-endpoint-address") | The address of the Nomad server, including scheme... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.001146093476563692,
0.12088851630687714,
-0.0707959458231926,
-0.015887795016169548,
0.06738866865634918,
-0.03976196050643921,
-0.008138162083923817,
-0.0676962360739708,
-0.038755618035793304,
0.012417251244187355,
0.06380214542150497,
-0.02319471724331379,
-0.0253947414457798,
0.0213... | 0.056589 |
respect to the creation or removal of the corresponding services. | false | | [providers.swarm.constraints](#opt-providers-swarm-constraints "#opt-providers-swarm-constraints") | Constraints is an expression that Traefik matches against the container's labels to determine whether to create any route for that container.... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.031104885041713715,
0.04720630496740341,
-0.09864525496959686,
0.008778835646808147,
0.030325140804052353,
-0.07467960566282272,
0.029563045129179955,
-0.03929677605628967,
-0.020940646529197693,
0.05020461976528168,
0.0020049079321324825,
-0.010909433476626873,
-0.010079651139676571,
-... | 0.200257 |
| 0 | | [tcpserverstransport.tls](#opt-tcpserverstransport-tls "#opt-tcpserverstransport-tls") | Defines the TLS configuration. | false | | [tcpserverstransport.tls.insecureskipverify](#opt-tcpserverstransport-tls-insecureskipverify "#opt-tcpserverstransport-tls-insecureskipverify") | Disables SSL certificate verificat... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/configuration-options.md | master | traefik | [
-0.07865557074546814,
0.09776614606380463,
-0.02632090449333191,
-0.0030393670313060284,
0.012904493138194084,
-0.07304353266954422,
0.056251343339681625,
-0.05237998813390732,
0.023037290200591087,
-0.045160844922065735,
0.07987827062606812,
-0.02037617564201355,
0.07717493176460266,
0.05... | -0.001376 |
# Traefik FastProxy Experimental Configuration ## Overview This guide provides instructions on how to configure and use the new experimental `fastProxy` install configuration option in Traefik. The `fastProxy` option introduces a high-performance reverse proxy designed to enhance the performance of routing. !!! info "L... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/experimental/fastproxy.md | master | traefik | [
-0.11851076036691666,
0.008687316440045834,
-0.05930158123373985,
0.0011345233069732785,
-0.06087511405348778,
-0.13468247652053833,
-0.02219317853450775,
0.0017476762877777219,
-0.019574230536818504,
-0.025519371032714844,
0.03283838927745819,
0.001375971594825387,
-0.02456052228808403,
-... | 0.075414 |
# Traefik Plugins Experimental Configuration ## Overview This guide provides instructions on how to configure and use the new experimental `plugins` install configuration option in Traefik. The `plugins` option introduces a system to extend Traefik capabilities with custom middlewares and providers. !!! warning "Experi... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/experimental/plugins.md | master | traefik | [
-0.07143644988536835,
-0.03071916475892067,
-0.10319162160158157,
-0.02968313917517662,
-0.03300219774246216,
-0.10821688920259476,
0.0006494225235655904,
0.02220849320292473,
-0.05035734176635742,
0.043810755014419556,
0.05821625143289566,
-0.02518121711909771,
-0.03338248282670975,
-0.01... | 0.195218 |
# Overview \_Providers\_ are infrastructure components, whether orchestrators, container engines, cloud providers, or key-value stores. The idea is that Traefik queries the provider APIs in order to find relevant information about routing, and when Traefik detects a change, it dynamically updates the routes. ## Provide... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/overview.md | master | traefik | [
-0.06984490156173706,
0.028934206813573837,
-0.07037550210952759,
-0.0014229052467271686,
0.016278978437185287,
-0.10348767042160034,
0.10893973708152771,
0.008641449734568596,
0.056010644882917404,
-0.016356006264686584,
0.00395656144246459,
-0.03473769873380661,
-0.018357641994953156,
-0... | 0.23942 |
[http.middlewares.add-foo-prefix.addPrefix] prefix = "/foo" ``` Using the add-foo-prefix middleware from other providers: ```yaml tab="Docker & Swarm" your-container: image: your-docker-image labels: # Attach add-foo-prefix@file middleware (declared in file) - "traefik.http.routers.my-container.middlewares=add-foo-pref... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/overview.md | master | traefik | [
-0.05243375897407532,
0.028259549289941788,
-0.04473240301012993,
-0.03655834496021271,
0.021705325692892075,
-0.07373476773500443,
-0.018256666138768196,
0.025968769565224648,
-0.021865099668502808,
0.0792112722992897,
-0.006519625894725323,
-0.09172967076301575,
-0.028247451409697533,
0.... | 0.171975 |
# Traefik & Docker Swarm This provider works with [Docker Swarm Mode](https://docs.docker.com/engine/swarm/). !!! tip "The Quick Start Uses Docker" If you have not already read it, maybe you would like to go through the [quick start guide](../../../getting-started/index.md) that uses the Docker provider. ## Configurati... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/swarm.md | master | traefik | [
-0.04933313652873039,
0.011871087364852428,
-0.09411662071943283,
-0.020892875269055367,
0.004061220213770866,
-0.06366220116615295,
0.01692218706011772,
0.005733122117817402,
-0.03484446555376053,
0.038682665675878525,
0.018858453258872032,
-0.017056401818990707,
-0.04034390673041344,
-0.... | 0.071772 |
false | No | | [`providers.swarm.tls.ca`](#opt-providers-swarm-tls-ca "#opt-providers-swarm-tls-ca") | Defines the path to the certificate authority used for the secure connection to Docker, it defaults to the system bundle. | "" | No | | [`providers.swarm.tls.cert`](#opt-providers-swarm-tls-cert "#opt-providers-swarm-... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/swarm.md | master | traefik | [
-0.01303812861442566,
0.09943864494562149,
-0.07113559544086456,
-0.005843912251293659,
0.012432938441634178,
-0.057089369744062424,
0.00817082542926073,
-0.00809860322624445,
0.0009460633737035096,
0.04461522027850151,
0.0469069667160511,
-0.08939772099256516,
0.06232171878218651,
0.05701... | -0.00726 |
"#opt-LblPort-4") | ExtIp1:ExtPort1:IntPort1 & ExtIp2:LblPort:IntPort2 | ExtIp2:LblPort | !!! info "" In the above table: - `ExtIp` stands for "external IP found in the binding" - `IntIp` stands for "internal network container's IP", - `ExtPort` stands for "external Port found in the binding" - `IntPort` stands for "in... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/swarm.md | master | traefik | [
0.0021348546724766493,
0.0008656701538711786,
-0.04993728920817375,
-0.05491819605231285,
0.027203207835555077,
-0.03878181055188179,
0.06649114936590195,
0.03911422938108444,
-0.030133405700325966,
0.05048380792140961,
0.07872726768255234,
-0.01974732242524624,
-0.025118717923760414,
-0.0... | 0.117865 |
labels are specified by the directive [`labels`](https://docs.docker.com/compose/compose-file/compose-file-v3/#labels) from the ["services" objects](https://docs.docker.com/compose/compose-file/compose-file-v3/#service-configuration-reference). !!! tip "Not Only Docker" Please note that any tool like Nomad, Terraform, ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/swarm.md | master | traefik | [
-0.03557288646697998,
0.021808071061968803,
-0.11454594880342484,
-0.020979350432753563,
-0.031154664233326912,
-0.03715949505567551,
0.041842762380838394,
-0.0020755045115947723,
0.009512625634670258,
-0.008631841279566288,
0.025863129645586014,
-0.09403681755065918,
0.017694104462862015,
... | 0.153935 |
- Accounting at networking level, by exposing the socket only inside a Docker private network, only available for Traefik. - Accounting at container level, by exposing the socket on a another container than Traefik's. It allows scheduling of Traefik on worker nodes, with only the "socket exposer" container on the manag... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/swarm.md | master | traefik | [
-0.04723329842090607,
0.06421902030706406,
-0.11235290765762329,
0.0005844510160386562,
0.012032191269099712,
-0.08185826241970062,
0.04778626188635826,
0.0052085448987782,
0.04106920585036278,
0.02324170060455799,
0.013736573047935963,
-0.024580569937825203,
-0.04399893060326576,
-0.04384... | 0.220698 |
# Traefik & Docker !!! tip "The Quick Start Uses Docker" If you have not already read it, maybe you would like to go through the [quick start guide](../../../getting-started/index.md) that uses the Docker provider. ## Configuration Example You can enable the Docker provider as detailed below: ```yaml tab="File (YAML)" ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/docker.md | master | traefik | [
-0.022116264328360558,
0.03833412751555443,
-0.09556866437196732,
-0.02839050255715847,
0.0043586669489741325,
-0.0846223384141922,
0.014856546185910702,
0.03838345780968666,
-0.029312847182154655,
0.0009906700579449534,
0.03530281409621239,
-0.01385101955384016,
-0.05221737176179886,
-0.0... | 0.004289 |
| "" | Yes | | [`providers.docker.tls.key`](#opt-providers-docker-tls-key "#opt-providers-docker-tls-key") | Defines the path to the private key used for the secure connection to Docker. When using this option, setting the `cert` option is required. | "" | Yes | | [`providers.docker.tls.insecureSkipVerify`](#opt-provid... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/docker.md | master | traefik | [
-0.08444424718618393,
0.08303182572126389,
-0.0657130628824234,
-0.00893258024007082,
-0.0212339386343956,
-0.11410874128341675,
0.033458296209573746,
-0.029092025011777878,
0.04877481609582901,
-0.014585793949663639,
0.025859994813799858,
-0.05022662505507469,
0.05941596254706383,
0.03658... | 0.001102 |
(TOML)" [providers.docker] useBindPortIP = true # ... ``` ```bash tab="CLI" --providers.docker.useBindPortIP=true # ... ``` ### `defaultRule` The `defaultRule` option defines what routing rule to apply to a container if no rule is defined by a label. It must be a valid [Go template](https://pkg.go.dev/text/template/), ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/docker.md | master | traefik | [
-0.026043444871902466,
0.0739341452717781,
-0.04204506427049637,
-0.038660310208797455,
-0.014462058432400227,
0.0032402342185378075,
0.08002295345067978,
0.049694642424583435,
0.020489785820245743,
-0.038590025156736374,
-0.007945265620946884,
0.01485289353877306,
-0.02826615236699581,
0.... | 0.042266 |
private communication works as follows: - If a container [exposes](https://docs.docker.com/engine/reference/builder/#expose) a single port, then Traefik uses this port. - If a container [exposes](https://docs.docker.com/engine/reference/builder/#expose) multiple ports, then Traefik uses the lowest port. E.g. if `80` an... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/docker.md | master | traefik | [
-0.06520074605941772,
0.0718369409441948,
-0.11762861162424088,
-0.017587343230843544,
-0.02501632086932659,
-0.1373470425605774,
0.020660828799009323,
-0.030704159289598465,
0.01731482520699501,
0.01128664705902338,
-0.011886579915881157,
-0.061097703874111176,
-0.017139149829745293,
-0.0... | 0.072303 |
run on Worker Nodes](https://blog.mikesir87.io/2018/07/letting-traefik-run-on-worker-nodes/) - [Docker Socket Proxy from Tecnativa](https://github.com/Tecnativa/docker-socket-proxy) {% include-markdown "includes/traefik-for-business-applications.md" %} | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/docker.md | master | traefik | [
-0.052860043942928314,
0.08517519384622574,
-0.09644000977277756,
-0.021259479224681854,
-0.025069735944271088,
-0.13245320320129395,
0.015113869681954384,
-0.03712161257863045,
-0.029852593317627907,
0.00792028196156025,
-0.032145362347364426,
-0.007626773323863745,
-0.02839880809187889,
... | 0.1297 |
# Traefik & etcd ## Configuration Example You can enable the etcd provider as detailed below: ```yaml tab="File (YAML)" providers: etcd: {} ``` ```toml tab="File (TOML)" [providers.etcd] ``` ```bash tab="CLI" --providers.etcd=true ``` ## Configuration Options | Field | Description | Default | Required | |:------|:-----... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/kv/etcd.md | master | traefik | [
-0.07555186003446579,
0.04018821194767952,
-0.022643648087978363,
-0.04247444495558739,
-0.011503801681101322,
-0.05651424080133438,
-0.010670325718820095,
-0.01100074127316475,
-0.003285792423412204,
-0.021296260878443718,
0.10895867645740509,
-0.014685369096696377,
-0.016628745943307877,
... | 0.023904 |
# Traefik & Redis ## Configuration Example You can enable the Redis provider as detailed below: ```yaml tab="File (YAML)" providers: redis: {} ``` ```toml tab="File (TOML)" [providers.redis] ``` ```bash tab="CLI" --providers.redis.endpoints=true ``` ## Configuration Options | Field | Description | Default | Required | ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/kv/redis.md | master | traefik | [
-0.04473160579800606,
0.011756445281207561,
-0.0967274010181427,
0.0015107103390619159,
-0.01925797015428543,
-0.08572784066200256,
0.028667166829109192,
0.012999194674193859,
0.020536979660391808,
-0.0006398012046702206,
0.06133990362286568,
-0.03223634138703346,
-0.0009652473381720483,
-... | 0.080595 |
# Traefik & ZooKeeper ## Configuration Example You can enable the ZooKeeper provider as detailed below: ```yaml tab="File (YAML)" providers: zooKeeper: {} ``` ```toml tab="File (TOML)" [providers.zooKeeper] ``` ```bash tab="CLI" --providers.zookeeper=true ``` ## Configuration Options | Field | Description | Default | R... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/kv/zk.md | master | traefik | [
-0.05366487056016922,
0.04971238225698471,
-0.04752528667449951,
-0.006512739695608616,
0.012278391048312187,
-0.09140993654727936,
0.023351863026618958,
-0.0077192517928779125,
0.02157025970518589,
0.0037575620226562023,
0.06557124108076096,
-0.05959352105855942,
-0.013898884877562523,
-0... | 0.047817 |
# Traefik & Consul ## Configuration Example You can enable the Consul provider as detailed below: ```yaml tab="File (YAML)" providers: consul: {} ``` ```toml tab="File (TOML)" [providers.consul] ``` ```bash tab="CLI" --providers.consul=true ``` ## Configuration Options | Field | Description | Default | Required | |:---... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/consul.md | master | traefik | [
-0.049114733934402466,
0.012259512208402157,
-0.09813664853572845,
-0.03149997070431709,
-0.05069008469581604,
-0.09395269304513931,
-0.030444961041212082,
0.044717516750097275,
0.011313848197460175,
0.029876526445150375,
0.0761704370379448,
-0.00894965510815382,
-0.007705722935497761,
-0.... | 0.045989 |
# Traefik & Nomad Service Discovery ## Configuration Example You can enable the Nomad provider with as detailed below: ```yaml tab="File (YAML)" providers: nomad: {} ``` ```toml tab="File (TOML)" [providers.nomad] ``` ```bash tab="CLI" --providers.nomad=true ``` Attaching tags to services: ```json ... service { name = ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/nomad.md | master | traefik | [
-0.0761740654706955,
0.049463365226984024,
-0.09264764189720154,
-0.037577737122774124,
-0.0025438317097723484,
-0.11446120589971542,
-0.010514270514249802,
-0.013357101939618587,
-0.031585149466991425,
0.021466219797730446,
0.060854386538267136,
-0.025352882221341133,
0.0038151685148477554,... | 0.043223 |
`key` option is required. | '" | Yes | | [`providers.nomad.endpoint.tls.key`](#opt-providers-nomad-endpoint-tls-key "#opt-providers-nomad-endpoint-tls-key") | Defines the path to the private key used for the secure connection to the Nomad API. When using this option, setting the `cert` option is required. | "" | Yes | ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/nomad.md | master | traefik | [
-0.044426653534173965,
0.10777705907821655,
-0.05756127089262009,
-0.009381946176290512,
0.015237472951412201,
-0.06375923752784729,
0.005033897235989571,
-0.0614280179142952,
0.004331001080572605,
0.0012633113656193018,
0.09063556790351868,
-0.07970188558101654,
0.08754914253950119,
0.054... | -0.004249 |
namespace for configuration and can not be used as a key for custom constraints. ??? example "Constraints Expression Examples" ```toml # Includes only services having the tag `a.tag.name=foo` constraints = "Tag(`a.tag.name=foo`)" ``` ```toml # Excludes services having any tag `a.tag.name=foo` constraints = "!Tag(`a.tag... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/nomad.md | master | traefik | [
-0.1073824018239975,
-0.013287925161421299,
-0.03426630049943924,
-0.04351355880498886,
-0.007327310275286436,
-0.11537843942642212,
0.03760990872979164,
-0.01007518358528614,
-0.06310246139764786,
-0.027635332196950912,
0.01975870504975319,
-0.025111408904194832,
0.1276697814464569,
0.018... | -0.009815 |
# Traefik & Consul Catalog ## Configuration Example You can enable the Consul Catalog provider as detailed below: ```yaml tab="File (YAML)" providers: consulCatalog: {} ``` ```toml tab="File (TOML)" [providers.consulCatalog] ``` ```bash tab="CLI" --providers.consulcatalog=true ``` Attaching tags to services: ```yaml - ... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/consul-catalog.md | master | traefik | [
-0.055118024349212646,
0.006840677931904793,
-0.10914543271064758,
-0.04523201286792755,
-0.06788994371891022,
-0.1052377000451088,
-0.06079290062189102,
0.03881370648741722,
-0.0045517608523368835,
0.037384986877441406,
0.021585969254374504,
-0.0223049558699131,
-0.048451174050569534,
0.0... | 0.05824 |
using HTTP Basic Authentication. | N/A | no | | [`providers.consulCatalog.endpoint.httpAuth.username`](#opt-providers-consulCatalog-endpoint-httpAuth-username "#opt-providers-consulCatalog-endpoint-httpAuth-username") | Defines the username to use for HTTP Basic Authentication. | "" | no | | [`providers.consulCatalog.e... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/consul-catalog.md | master | traefik | [
0.003133980091661215,
0.03320084139704704,
-0.1247330904006958,
-0.07713519036769867,
-0.04902348667383194,
-0.08588702976703644,
0.0014191354857757688,
0.05298866331577301,
0.006718944292515516,
0.04315254092216492,
0.037421274930238724,
-0.023317424580454826,
0.020483283326029778,
0.0281... | 0.04308 |
= "Tag(`a.tag.name=foo`)" ``` ```toml # Excludes services having any tag `a.tag.name=foo` constraints = "!Tag(`a.tag.name=foo`)" ``` ```toml # With logical AND. constraints = "Tag(`a.tag.name`) && Tag(`another.tag.name`)" ``` ```toml # With logical OR. constraints = "Tag(`a.tag.name`) || Tag(`another.tag.name`)" ``` ``... | https://github.com/traefik/traefik/blob/master/docs/content/reference/install-configuration/providers/hashicorp/consul-catalog.md | master | traefik | [
-0.08133262395858765,
0.0324338860809803,
-0.003604756435379386,
-0.04499826952815056,
0.004944777116179466,
-0.08866159617900848,
0.06257233768701553,
-0.006333211436867714,
-0.046863384544849396,
-0.0018754331395030022,
0.01565343141555786,
-0.04765254631638527,
0.11090677976608276,
0.01... | -0.025561 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.