Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina descrive le opzioni per la raccolta dei log da Google Kubernetes Engine.
Raccolta dei log
Per impostazione predefinita, i cluster GKE inviano i log a Cloud Logging. Puoi scegliere i tipi di log da raccogliere quando crei un cluster o attivare la raccolta dei log per un cluster esistente.
Per informazioni sui tipi di log GKE raccolti da Logging e sui dettagli per la gestione dei log, consulta Gestire i log GKE.
Logging multi-tenant
Un cluster multi-tenant è un cluster condiviso da più team come tenant del cluster.
Un approccio comune al multitenancy è utilizzare un Google Cloud progetto per il
cluster condiviso e progetti separati per ogni team di applicazioni. Gli amministratori del cluster possono configurare un sistema in cui i log vengono archiviati nello stesso progetto del cluster e i log del tenant vengono inoltrati ai progetti del team di applicazioni.
Per informazioni sulla configurazione del logging per i cluster multi-tenant, consulta
Logging multi-tenant su GKE.
Passaggi successivi
Esplora i log per i tuoi cluster e le tue risorse GKE in Esplora log.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-10 UTC."],[],[],null,["# Collect GKE logs\n\nThis page describes options for collecting logs from Google Kubernetes Engine.\n\nLog collection\n--------------\n\nBy default, GKE clusters send logs to Cloud Logging. You can\nchoose the types of logs to collect when you create a cluster or enable\nlog collection for an existing cluster.\n| **Note:** For [GKE Autopilot](/kubernetes-engine/docs/concepts/autopilot-overview) clusters, you can't disable collection of all GKE logs.\n\nFor information about configuring log collection, see\n[Configuring logging and monitoring for GKE](/kubernetes-engine/docs/how-to/configure-metrics).\n\nFor information about the types of GKE logs that\nLogging collects and details about managing your logs, see\n[Managing GKE logs](/kubernetes-engine/docs/concepts/about-logs#collecting_logs).\n\nMulti-tenant logging\n--------------------\n\nA multi-tenant cluster is a cluster that multiple teams share as *tenants* of\nthe cluster.\n\nA common approach to multi-tenancy is to use one Google Cloud project for the\nshared cluster and separate projects for each application team. Cluster\nadmins can configure a system where logs are stored in the same project as the\ncluster, and tenant logs are routed to the application team projects.\n\nFor information about configuring logging for multi-tenant clusters, see\n[Multi-tenant logging on GKE](/kubernetes-engine/docs/how-to/multi-tenant-logging).\n\nWhat's next\n-----------\n\n- Explore logs for your GKE clusters and resources in the [Logs Explorer](/logging/docs/view/logs-explorer-interface).\n\n\u003c!-- --\u003e\n\n- Learn how to [monitor your logs](/logging/docs/alerting/monitoring-logs) with [predefined logs dashboards](/logging/docs/view/dashboard) for GKE, log-based alerts, and other features."]]