Hello Community,
I am facing a challenge with DNS resolution in a basic Google Kubernetes Engine (GKE) Autopilot cluster integrated with Cloud DNS.
> kubectl get pods xxx-7d6bc66766-2z86r -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
xxx-7d6bc66766-2z86r 1/1 Running 0 11h 10.116.1.75 gk3-xxx-pool-2-9faf61c8-67td
root@XXX-7d6bc66766-2z86r:/# telnet 10.116.1.75 8080
Trying 10.116.1.75...
Connected to 10.116.1.75.
root@cxxx7d6bc66766-2z86r:/# telnet 10-116-1-75.default.pod.cluster.local 8080
telnet: could not resolve 10-116-1-75.default.pod.cluster.local/8080: Name or service not know
I would greatly appreciate any insights or suggestions on how to resolve this DNS issue. Is there a specific configuration within GKE Autopilot or Cloud DNS that I might be missing? Any help or guidance from those who have encountered and resolved similar issues would be highly beneficial.
Thank you in advance!
Solved! Go to Solution.
Could you share the content of /etc/resolv.conf from one of the pods?
Is there a resolution for this? We had to move back to a regular node based cluster.