Files
homelab-infra/archive/traefik
panxiao81 88a02ababa
lint / yaml (push) Has been cancelled
lint / ansible (push) Has been cancelled
lint / terraform (push) Has been cancelled
Establish clean homelab infrastructure baseline
Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
2026-09-09 16:47:20 +00:00
..

Traefik Gateway API helpers

  • Define the GatewayClass/Gateway that Traefik's controller expects so later HTTPRoutes can bind to it.
  • All manifests live here for GitOps sync; the Gateway uses the traefik controller name (traefik.io/gateway-controller) that k3s bundled Traefik advertises.
  • Apply with:
    kubectl apply -f ~/services/archive/traefik/gatewayclass.yaml
    kubectl apply -f ~/services/archive/traefik/gateway.yaml
    
  • Once accepted you can add HTTPRoute objects (e.g., ~/services/apps/http-echo/httproute-traefik.yaml) targeting the Gateway.