← スキル一覧に戻る

traefik
by kettleofketchup
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: traefik description: Traefik v3 reverse proxy and load balancer for Kubernetes and Docker. Use when configuring Traefik entrypoints, HTTP/TCP/UDP routing, IngressRoute CRDs, middlewares (auth, rate limiting, headers, redirects), load balancing, TLS/ACME certificates, or Kubernetes Ingress annotations.
Traefik v3
Cloud-native reverse proxy and load balancer with automatic service discovery. Traefik connects incoming requests to backend services using dynamic configuration from providers (Kubernetes, Docker, etc.).
Quick Start (Kubernetes Helm)
helm repo add traefik https://traefik.github.io/charts
helm install traefik traefik/traefik
Install CRDs manually (if needed):
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.6/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v3.6/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
Core Concepts
| Component | Description |
|---|---|
| EntryPoints | Network ports where Traefik listens (e.g., :80, :443) |
| Routers | Match incoming requests using rules (Host, Path, Headers) |
| Services | Define backend targets with load balancing |
| Middlewares | Transform requests/responses (auth, headers, redirects) |
| Providers | Configuration sources (Kubernetes, Docker, File) |
Task Reference
Routing Configuration
- HTTP routing rules, matchers, priority → references/routing.md
- Rule syntax (Host, Path, Headers, Query) → references/routing.md
Kubernetes CRDs
- IngressRoute, Middleware, TraefikService → references/kubernetes-crd.md
- Full IngressRoute examples → references/kubernetes-crd.md
Middlewares
- All available middlewares → references/middlewares.md
- Auth, rate limiting, headers, redirects → references/middlewares.md
Load Balancing & Services
- Strategies, health checks, sticky sessions → references/services.md
- Mirroring, failover, weighted routing → references/services.md
TLS & Certificates
- ACME/Let's Encrypt, TLS options → references/tls.md
- Certificate resolvers, challenges → references/tls.md
EntryPoints
- Configuration, HTTP/HTTPS setup → references/entrypoints.md
- Redirections, proxy protocol → references/entrypoints.md
Minimal IngressRoute Example
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: myapp
namespace: default
spec:
entryPoints:
- websecure
routes:
- match: Host(`myapp.example.com`)
kind: Rule
services:
- name: myapp-svc
port: 80
middlewares:
- name: myapp-headers
tls:
certResolver: letsencrypt
Common CLI/Static Config
# traefik.yml (static configuration)
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
providers:
kubernetesCRD: {}
kubernetesIngress: {}
certificateResolvers:
letsencrypt:
acme:
email: admin@example.com
storage: /data/acme.json
httpChallenge:
entryPoint: web
Official Documentation
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です