traefik-knowledge-patch
Traefik changes since training cutoff (latest: 3.6.9) — multi-layer routing, Redis rate limiter, p2c/leasttime LB strategies, fast proxy, ForwardAuth body forwarding, OTLP logs, post-quantum TLS, Knative provider. Load before working with Traefik.
What this skill does
# Traefik Knowledge Patch (v3.1 – v3.6)
Baseline: Traefik v3.0.x. Covers: v3.1 through v3.6.9 (July 2024 – November 2025).
## Index
| Topic | Reference | Key features |
|-------|-----------|-------------|
| Routing & Middleware | [references/routing-and-middleware.md] | Multi-layer routing (parentRefs), ForwardAuth body/method forwarding, Zstandard compression, error page status rewrites, path sanitization, encoded character controls |
| Load Balancing & Services | [references/load-balancing.md] | p2c / leasttime / highestRandomWeight strategies, TCP & passive health checks, sticky cookie domain/path, Redis rate limiter, fast proxy mode |
| Providers & Observability | [references/providers-and-observability.md] | Knative provider, NGINX Ingress provider, OTLP logs, trace verbosity, API dashboard base path |
---
## Breaking Changes & Deprecations
| Version | Change |
|---------|--------|
| v3.1 | `disableIngressClassLookup` renamed to `disableClusterScopeResources` |
| v3.1 | Gateway API provider no longer experimental |
| v3.2.2 | `traefik.docker.network` renamed to `traefik.swarm.network` (Swarm labels) |
| v3.3 | `acme.dnsChallenge.delaybeforecheck` renamed to `acme.dnsChallenge.propagation.delayBeforeChecks` |
| v3.3 | `tracing.globalAttributes` renamed to `tracing.resourceAttributes` |
| v3.4 | `RoundRobin` strategy deprecated — use `wrr` |
| v3.4 | `rootCAsSecrets` deprecated — use `rootCAs` (supports ConfigMaps + Secrets) |
| v3.4 | `core.defaultRuleSyntax` and `ruleSyntax` deprecated (v2 compat removed) |
| v3.5.2 | `proxyProtocol` on TCP LB deprecated — use `TCPServersTransport` |
| v3.6.2 | NGINX Ingress provider no longer experimental |
---
## Quick Reference: New Load Balancer Strategies
| Strategy | Version | Description |
|----------|---------|-------------|
| `wrr` | (default) | Weighted round-robin (replaces deprecated `RoundRobin`) |
| `p2c` | v3.4 | Power of Two Choices — picks the less-loaded of two random backends |
| `leasttime` | v3.6 | Routes to the backend with lowest response time |
| `highestRandomWeight` | v3.6 | Probabilistic weighting |
```yaml
http:
services:
my-service:
loadBalancer:
strategy: p2c # or leasttime, highestRandomWeight, wrr
servers:
- url: "http://backend1:8080"
- url: "http://backend2:8080"
```
## Quick Reference: ForwardAuth Options
| Option | Version | Description |
|--------|---------|-------------|
| `forwardBody` | v3.3 | Send request body to auth server |
| `maxBodySize` | v3.3 | Limit forwarded body size (bytes) |
| `preserveLocationHeader` | v3.3 | Keep Location header from auth response |
| `preserveRequestMethod` | v3.4 | Keep original HTTP method (GET/POST/etc.) |
| `maxResponseBodySize` | v3.6.9 | Limit auth response body size (default -1 = unlimited) |
## Quick Reference: Compression Encodings
Since v3.1/v3.2, the compress middleware supports Zstandard and explicit encoding order:
```yaml
http:
middlewares:
compress:
compress:
encodings:
- gzip
- br
- zstd
```
Default order since v3.3.5: `gzip, br, zstd`.
## Multi-Layer Routing (v3.6)
Routers can have parent-child relationships via `parentRefs`. Parent routers apply shared middleware (e.g., auth) and child routers make routing decisions based on enriched request context.
Three router types: **Root** (attached to entryPoints, no service), **Intermediate** (has children, inherits from root), **Leaf** (must define a service).
```yaml
http:
routers:
api-parent:
rule: "Host(`api.example.com`)"
middlewares:
- auth-with-tier
entryPoints:
- websecure
tls: {}
# No service — this is a parent router
api-enterprise:
rule: "Header(`X-Customer-Tier`, `enterprise`)"
service: stable-backend
parentRefs:
- api-parent
api-free:
rule: "Header(`X-Customer-Tier`, `free`)"
service: canary-backend
parentRefs:
- api-parent
```
Child routers cannot be called directly — requests must flow through their parent.
## Redis Rate Limiter (v3.4)
Distributed rate limiting backed by Redis, replacing in-memory-only for multi-instance deployments:
```yaml
http:
middlewares:
rate-limit:
rateLimit:
average: 100
burst: 50
redis:
endpoints:
- "redis:6379"
```
## Post-Quantum TLS (v3.5)
X25519MLKEM768 curve for post-quantum-secure TLS:
```yaml
tls:
options:
default:
curvePreferences:
- X25519MLKEM768
- X25519
```
## Security: Path Sanitization & Encoded Characters
**Path sanitization** (v3.3.6+): Incoming paths are auto-cleaned (`/../`, `/./`, `//`). Disable per-entrypoint if needed:
```yaml
entryPoints:
web:
address: ":80"
http:
sanitizePath: false
```
**Encoded characters** (v3.6.4+): Control which encoded characters to allow in request paths:
```yaml
entryPoints:
web:
address: ":80"
http:
encodedCharacters:
allowEncodedSlash: true # %2F - default true since v3.6.7
allowEncodedBackSlash: true # %5C
allowEncodedNullCharacter: true # %00
```
---
## Reference Files
- **[references/routing-and-middleware.md]** — Multi-layer routing, ForwardAuth, compression, error pages, path/encoding security
- **[references/load-balancing.md]** — LB strategies, health checks, sticky cookies, Redis rate limiter, fast proxy
- **[references/providers-and-observability.md]** — Knative, NGINX Ingress, OTLP logs, trace verbosity, API dashboard
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.