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

Explain more about troubleshooting CoreDNS #47012

Open
oshi1136 opened this issue Jun 28, 2024 · 9 comments
Open

Explain more about troubleshooting CoreDNS #47012

oshi1136 opened this issue Jun 28, 2024 · 9 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@oshi1136
Copy link

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

@oshi1136 oshi1136 added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 28, 2024
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jun 28, 2024
@sftim
Copy link
Contributor

sftim commented Jun 28, 2024

/retitle Explain more about troubleshooting CoreDNS
/language en

@k8s-ci-robot k8s-ci-robot changed the title CoreDNS pods logs are disabled by default.Need to edit coredns configmap for logs Explain more about troubleshooting CoreDNS Jun 28, 2024
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Jun 28, 2024
@sftim
Copy link
Contributor

sftim commented Jun 28, 2024

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
Copy link
Contributor

sftim commented Jun 28, 2024

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
Copy link
Member

This would be a good addition to the doc.

/priority backlog
/triage accepted

@k8s-ci-robot k8s-ci-robot added priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 28, 2024
@oshi36
Copy link

oshi36 commented Jun 28, 2024

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

@oshi36
Copy link

oshi36 commented Jun 28, 2024

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
Copy link
Contributor

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
Copy link

oshi36 commented Jul 1, 2024

/assign @oshi36

@abhilasha2418
Copy link
Contributor

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. language/en Issues or PRs related to English language priority/backlog Higher priority than priority/awaiting-more-evidence. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

7 participants