Skip to content

Commit

Permalink
Merge pull request #431 from yws-ss/patch-1
Browse files Browse the repository at this point in the history
Command error for getting CoreDNS pod logs
  • Loading branch information
jicowan authored Dec 12, 2023
2 parents 9456000 + ecb9c68 commit 7eac993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/reliability/docs/dataplane.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ CoreDNS has built in support for [Prometheus](https://github.com/coredns/coredns
For troubleshooting purposes, you can use kubectl to view CoreDNS logs:

```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 -n kube-system -l k8s-app=kube-dns -o jsonpath='{.items[*].metadata.name}'); do kubectl logs $p -n kube-system; done
```

### Use NodeLocal DNSCache
Expand Down

0 comments on commit 7eac993

Please sign in to comment.