Hi Friends , There is a question whats the default gateway for the pod scheduled on Node3 . I have scheduled a Pod on node03 and verified the IP route in Node 03 it is 172.17.0.1 but correct answer is 10.36.0.0 , how come ?. am i missing some thing …pl help
SHANKAR NAG MACHIRAJU:
you need to get inside the pod and execute the ip route command … in these scenarios use busybox image …
172.17.0.1 is actually the gateway of the node, but the question is asking for the default gateway of the POD. Remember, the packet needs to leave the POD first, then leave the node.
create a pod using centos image , there route cmd should be available . another way is to get the pod n/w …if i remember correctly its weave interface