hardgcloud
Query Cloud Logging for Kubernetes container logs from a GKE cluster
command
gcloud logging read "resource.type=k8s_container" --limit 50also accepted
gcloud logging read "resource.type=k8s_container"gcloud logging readcommand
gcloud logging read "resource.type=k8s_container" --limit 50also accepted
gcloud logging read "resource.type=k8s_container"gcloud logging readPart of the Google Cloud CLI (gcloud) — Debugging category.
| Flag | Purpose |
|---|---|
--limit | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →