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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -