En la lista desplegable de tipo de recurso, selecciona GKE Container (Contenedor de GKE), el nombre del clúster y el ID de espacio de nombres. Por ejemplo:
Para obtener más información, consulta Visualizar registros en la documentación de GCP.
En el siguiente ejemplo, se muestra un resultado de registro híbrido en el visor de registros:
Visualiza los archivos de registro directamente
Puedes ver los registros que se escriben en el sistema de archivos de cada pod directamente mediante kubectl, de la siguiente manera:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-03-12 (UTC)"],[[["This document provides instructions on how to view Apigee hybrid logs using Stackdriver or directly via the `kubectl logs` command."],["Logging is automatically enabled on GKE and GKE on-prem, requiring the disabling of logging in the overrides file by setting `logger.enabled` to `false`, while AKS requires enabling it with `logger.enabled` set to `true`."],["To view logs on Stackdriver, you can navigate to the Monitoring Logs Viewer and select GKE Container, the cluster name, and the namespace ID."],["You can view log files directly from each pod's filesystem using `kubectl logs pod_name -n namespace`."]]],[]]