← Debugging384 / 640
hardgcloud

Query Cloud Logging for Kubernetes container logs from a GKE cluster

command

gcloud logging read "resource.type=k8s_container" --limit 50

also accepted

gcloud logging read "resource.type=k8s_container"gcloud logging read

Test your recall — not just your reading.

Practice with interactive quiz →