Hi Admins, In mock test2, I am able to lookup service. But not sure how to lookup pod ? Do I need to lookup from IP of the pod ? Please suggest.
for you i would say recheck the network part in CKA. it will explain u better than anyone here. its my believe and i solve it like this. Just to let u know u cannot address pod with ip in k8s.
@Ravi Paragi - Hi Ravi, you can resolve the pod by performing a nslookup against 10-244-0-2.<namespace of pod>. pod or 10-244-0-2. <namespace of pod>.pod.cluster.local. In this case, 10-244-0-2 is the IP of the pod separated by ‘-’. Also, I agree with @AB, it would help to go through the networking coredns lecture.
Thank you @Mukund Bhatia @AB. sure let me refresh all networking concepts …
Mock 2 test also has solution video