문제 설명
k8s 클러스터용 NAT 게이트웨이 IP가 포드에 반영되지 않음 (NAT Gateway IP for k8s cluster not reflected in pods)
주어진 튜토리얼에서 언급한 대로 NAT 게이트웨이를 만들려고 했습니다. https://cloud.google.com/solutions/using‑a‑nat‑gateway‑with‑kubernetes‑engine terraform 적용 후 NAT Gateway가 생성되어 IP를 할당받았지만, 포드에서 나가는 트래픽은 여전히 NAT 게이트웨이의 IP가 아닌 노드의 IP로 옵니다. 동일한 문제 해결 가이드를 찾을 수 없습니다. 모든 지침을 주시면 감사하겠습니다.
참조 솔루션
(by Vivek S)