Lease 기반 리더 선출 — 리더 장애 시 페일오버

Lease 기반 리더 선출 — 리더 장애 시 페일오버 A sequence diagram generated by Archify. Lease 갱신 (1초 간격) 정상 운영 중 갱신 중단 후 Lease 만료 감지 3초 설정은 end-to-end 복구 보장이 아님 Lease 획득 라우트 테이블 업데이트 (새 ENI로 변경) 새로운 리더로 승격 이어서 endpoints 갱신 tunnelEndpoint / cidr / mac; 로컬 tunnel state는 모든 replica가 유지 정상 운영 리더 장애 발생 → 팔로워 승격 리더 Pod · 게이트웨이 레플리카 1 · Sequence participant 리더 Pod 게이트웨이 레플리카 1 Kubernetes Lease · coordination.k8s.io · Sequence participant Kubernetes Lease coordination.k8s.io 팔로워 Pod · 게이트웨이 레플리카 2 · Sequence participant 팔로워 Pod 게이트웨이 레플리카 2 VPC 라우트 테이블 · routeTableIDs · Sequence participant VPC 라우트 테이블 routeTableIDs CiliumVTEPConfig · spec.endpoints · Sequence participant CiliumVTEPConfig spec.endpoints Legend 핵심 호출 비동기 · 선택 일반 호출