dev cluster ( public subnet ) traffic 조회
public subnet에 배치되어 있는 worker node 에 ssh 접속
iptables -v --numeric --table nat --list PREROUTING
iptables -v --numeric --table nat --list KUBE-SERVICES
테스트 해볼 ns의 k get svc 를 해보면 CLUSTER-IP 를 확인 해볼 수 있다
그리고 위의 명령어에서 찾은 SVC로 다시 조회해본다
iptables -v --numeric --table nat --list KUBE-SVC-ZHSNUB7MDJJHUELR
조회해보면 파드가 하나면 하나가 있다
두개 이상 인 경우는 probability로 0.33333 이렇게 있다
iptables -v --numeric --table nat --list KUBE-SEP-ISDDO2Q3XDYMCEDK
Last updated
Was this helpful?