Skip to main content

Kubernetes Logs

First, get a list of all the running containers:

kubectl -n trustgraph get pods

To check the log for a container:

kubectl -n trustgraph logs <container-name-here>

To stream the output of a log as it updates:

kubectl -n trustgraph logs -f <container-name-here>

The output of some logs can be quite long. It might be helpful to search for exceptions:

kubectl -n trustgraph logs <container-name-here> | grep Exception