Update dns-debugging-resolution.md (#12012)
There is a document error in the subsection named "Check for Errors in the DNS pod" , where the pod selector should coredns but not kube-dns.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
a14ce37044
commit
4f189afac1
@@ -122,7 +122,7 @@ Use `kubectl logs` command to see logs for the DNS containers.
|
|||||||
|
|
||||||
For CoreDNS:
|
For CoreDNS:
|
||||||
```shell
|
```shell
|
||||||
for p in $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -o name); do kubectl logs --namespace=kube-system $p; done
|
for p in $(kubectl get pods --namespace=kube-system -l k8s-app=coredns -o name); do kubectl logs --namespace=kube-system $p; done
|
||||||
```
|
```
|
||||||
|
|
||||||
Here is an example of a healthy CoreDNS log:
|
Here is an example of a healthy CoreDNS log:
|
||||||
|
|||||||
Reference in New Issue
Block a user