Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Networking issue in initial cluster setup with no network connectivity #67

Open
devleejb opened this issue Mar 17, 2024 · 0 comments
Open

Comments

@devleejb
Copy link

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:

;; connection timed out; no servers could be reached

Upon inspecting the /etc/resolv.conf file in the Pod, it is noted that the nameserver correctly contains the address of the kube-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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant