dev cluster ( public subnet ) traffic 조회
public subnet에 배치되어 있는 worker node 에 ssh 접속iptables -v --numeric --table nat --list PREROUTINGiptables -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-ISDDO2Q3XDYMCEDKLast updated
Was this helpful?
