You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up the initial cluster, it is discovered that there is no network connectivity. Attempted to troubleshoot the issue by running the following commands:
After setting up the initial cluster, it is discovered that there is no network connectivity. Attempted to troubleshoot the issue by running the following commands:
kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml kubectl exec -it dnsutils -- nslookup kubernetes.default
The expected response is not observed, and the following message is received:
Upon inspecting the
/etc/resolv.conf
file in the Pod, it is noted that thenameserver
correctly contains the address of thekube-dns
service.What could be the underlying cause of the network issue? Need to clarify whether this setup is intentional in the cluster environment.
Reference: Kubernetes DNS Debugging and Resolution
The text was updated successfully, but these errors were encountered: