fixing coredns label (#15340)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
097618dfa1
commit
cad2e5c006
@@ -95,7 +95,7 @@ Use the `kubectl get pods` command to verify that the DNS pod is running.
|
|||||||
|
|
||||||
For CoreDNS:
|
For CoreDNS:
|
||||||
```shell
|
```shell
|
||||||
kubectl get pods --namespace=kube-system -l k8s-app=coredns
|
kubectl get pods --namespace=kube-system -l k8s-app=kube-dns
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
...
|
...
|
||||||
coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h
|
coredns-7b96bf9f76-5hsxb 1/1 Running 0 1h
|
||||||
@@ -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=coredns -o name); do kubectl logs --namespace=kube-system $p; done
|
for p in $(kubectl get pods --namespace=kube-system -l k8s-app=kube-dns -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