Getting logs from Reach

To help diagnose issues it may be required to gather the status of the cluster and also the logs. This can be done with the following commands:

Get a list of all running pods

kubectl get pods --all-namespaces

Get all pod logs and dump them to a file

for pod in $(kubectl get pods -n reach -o name | tr '\n' ' '); do kubectl logs -n reach $pod >> log_dump.txt; done;




T
Tom is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.