kubernetes / website

Kubernetes website and documentation repo:
https://kubernetes.io
Creative Commons Attribution 4.0 International
4.45k stars 14.36k forks source link

Explain more about troubleshooting CoreDNS #47012

Open oshi1136 opened 3 months ago

oshi1136 commented 3 months ago

This is a Feature Request

What would you like to be added

Coredns runs as a deployment in kubernetes cluster.One can't get the coredns pods logs with information about the DNS queries . It is disabled by default.

Why is this needed

Many are not aware on how to enable logs , which can be done by editing the configmap of coredns and adding log field there.This can be included as an information under Using CoreDNS for Service Discovery Comments

Thank you @dims for giving the suggestion to include this. https://x.com/oshi1136/status/1803675666002710597

sftim commented 3 months ago

/retitle Explain more about troubleshooting CoreDNS /language en

sftim commented 3 months ago

This can be included as an information under Using CoreDNS for Service Discovery

I would put the advice into https://kubernetes.io/docs/tasks/debug/debug-cluster/ but also change https://kubernetes.io/docs/tasks/administer-cluster/coredns/ so that it hyperlinks to the new advice.

sftim commented 3 months ago

Whether this is formally accepted or not, folks are welcome to work on it (either to help with triage, or on a pull request).

dipesh-rawat commented 3 months ago

This would be a good addition to the doc.

/priority backlog /triage accepted

oshi36 commented 3 months ago

I can work on this issue . By mistake I have created the issue by my other github id.Please assign

oshi36 commented 3 months ago

This can be included as an information under Using CoreDNS for Service Discovery

I would put the advice into https://kubernetes.io/docs/tasks/debug/debug-cluster/ but also change https://kubernetes.io/docs/tasks/administer-cluster/coredns/ so that it hyperlinks to the new advice.

Can you elaborate on this . Do you want me to make changes in both?

utkarsh-singh1 commented 3 months ago

I can work on this issue . By mistake I have created the issue by my other github id.Please assign

@oshi1136 use tag /assign on any issue to assign the issue to your self.

oshi36 commented 3 months ago

/assign @oshi36

abhilasha2418 commented 2 months ago

/assign