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

Added DNS troubleshooting steps in EKS Anywhere troubleshooting doc #9085

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jhaanvi5
Copy link
Member

@jhaanvi5 jhaanvi5 commented Dec 17, 2024

Description of changes:
Added DNS troubleshooting tips in EKSA troubleshooting doc.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 17, 2024
@jhaanvi5 jhaanvi5 changed the title Added DNS troubleshooting steps in EKSA troubleshooting doc Added DNS troubleshooting steps in EKS Anywhere troubleshooting doc Dec 17, 2024
DNS resolution is managed by coreDNS, a DNS server deployed as a pod within the cluster, it helps resolve service names to corresponding IP Addresses. If DNS resolution fails, applications maybe unable to connect to services or external endpoints.

#### Common errors related to DNS issues:
- Pods are unable to resolve the DNS names of other services.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is one issue customer can face, you should also add the issue that we noticed- where a workload cluster could not be created as coredns was not connected to correct nameserver.

kubectl logs --namespace=kube-system -l k8s-app=kube-dns
```
See if there are any suspicious or unexpected messages in the logs.
3. Verify CoreDNS configuration and ensure it matches with cluster requirement, also verify if forward plugin points to correct DNS servers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not clear what we want customers to verify here, or how they ensure that coredns is actually connected to the right nameserver

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want customer to verify the nameserver by inspecting CoreDNS configuration in Corefile, it would either be defined in CoreFile as forward . /etc/resolv.conf or directly as forward . 8.8.8.8, to inspect /etc/resolv.conf customer or on-call support can use below steps to create debug pod and inspect /etc/resolv.conf, do you mean we should refer to below steps here in this section, to inspect /etc/resolv.conf?

Verify CoreDNS configuration and ensure it matches with cluster requirement

In this point, what I meant is one should verify if the CoreDNS configMap has the correct nameserver which was set by admin/networking team.

@eks-distro-bot eks-distro-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 19, 2024
@ndeksa
Copy link
Contributor

ndeksa commented Dec 19, 2024

/approve
/lgtm

@eks-distro-bot
Copy link
Collaborator

@ndeksa: changing LGTM is restricted to collaborators

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ndeksa
Once this PR has been reviewed and has the lgtm label, please ask for approval from jhaanvi5. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation documentation size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants