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

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -