docker - in k8s+flannel, how to access pod from outside host using nodeport -
i confused when tested following scenario:
host (non k8s node) accesses service using node port. due entry:
postrouting -m comment --comment "kubernetes service traffic requiring snat" -m mark --mark 0x4000/0x4000 -j masquerade
the source ip address in ip packet sent changed ip of docker, 1 of service pod got packet. in case, pod not know real client a. how docker route packet replied pod host a?
Comments
Post a Comment