This page describes options for collecting logs from Google Kubernetes Engine.
Log collection
By default, GKE clusters send logs to Cloud Logging. You can choose the types of logs to collect when you create a cluster or enable log collection for an existing cluster.
For information about configuring log collection, see Configuring logging and monitoring for GKE.
For information about the types of GKE logs that Logging collects and details about managing your logs, see Managing GKE logs.
Multi-tenant logging
A multi-tenant cluster is a cluster that multiple teams share as tenants of the cluster.
A common approach to multi-tenancy is to use one Google Cloud project for the shared cluster and separate projects for each application team. Cluster admins can configure a system where logs are stored in the same project as the cluster, and tenant logs are routed to the application team projects.
For information about configuring logging for multi-tenant clusters, see Multi-tenant logging on GKE.
What's next
- Explore logs for your GKE clusters and resources in the Logs Explorer.
- Learn how to monitor your logs with predefined logs dashboards for GKE, log-based alerts, and other features.