Files
obsidian/history/2026-03-25-apisix-to-traefik-routing.md
kappa 2356b86d36 obsidian: 정본 문서에서 히스토리/인시던트 분리 완료
15개 정본 문서에서 날짜별 변경이력, 인시던트 기록, 폐기된 구현 상세를
history/ 디렉토리로 분리. 정본은 현재 상태만 기술하는 백서 형태로 정리.
각 정본에 history 위키링크 추가.

분리된 history 파일 12건:
- apisix git push 500, k3s postgresql migration, apisix→traefik 전환
- netbis DDoS 공격, gitea 이전/분리, usb 2.5g hang + NFS hard mount
- supabase→patroni, apisix etcd 통합/분리, anomaly-detect 재설계
- patroni failover incident, zlambda nixos migration, ops-agents setup

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 12:09:21 +09:00

1.3 KiB

date, topic, areas, tags
date topic areas tags
2026-03-25 메인 HTTP 라우팅 APISIX → Traefik 전환
infra/gateway-api.md
infra/apisix.md
history
traefik
apisix
gateway-api
routing

메인 HTTP 라우팅을 APISIX에서 Traefik으로 전환한 과정.

배경

전환 이력

  • 2026-03-21: K3s Ingress → Gateway API 전환 (기존 클러스터, Traefik v3.6.9)
  • 2026-03-24: 새 클러스터(kr2)에서 APISIX + Ingress Controller 2.0으로 구성
  • 2026-03-25: 메인 HTTP 라우팅을 Traefik으로 교체

APISIX 이전 사유

  • Ingress Controller 2.0 초기 시도에서 GatewayProxy 모드 + ApisixRoute CRD 연동 실패 (helm values v1.x 형식 불일치)
  • Gateway API HTTPRoute에 플러그인 개별 적용 방법 없음 → ApisixRoute CRD 필요
  • global_rules를 Ingress Controller가 덮어쓰려는 충돌 발생

변경 사항

  • Traefik DaemonSet + MetalLB LoadBalancer 192.168.9.53으로 메인 라우팅 담당
  • APISIX는 독립 LoadBalancer(192.168.9.50)로 유지, route 축소 (juiceshop 1건)

2026-03-22 장애

CoreDNS NodeHosts에 gitea.inouter.com → 10.43.205.207(stale ClusterIP)이 남아 ArgoCD 전체 Gitea 싱크 실패. CoreDNS rewrite 방식으로 교체하여 해결.

참조

  • infra/gateway-api.md — Traefik Gateway API 현재 구성
  • infra/apisix.md — APISIX 구성