Activer la journalisation GKE

Journaux du pilote de job

Pour savoir comment configurer et afficher les journaux du pilote de job Spark Managed Service pour Apache Spark sur GKE, consultez Afficher les journaux de job Managed Service pour Apache Spark dans Logging.

Cloud Logging

Activez Logging pour afficher, rechercher, filtrer et archiver les journaux Managed Service pour Apache Spark sur GKE dans Cloud Logging.

Vous pouvez rechercher les journaux du pilote et de l'exécuteur Spark dans Cloud Logging à l'aide des libellés suivants :

  • dataproc.googleapis.com/cluster-uuid = Managed Service for Apache Spark cluster UUID
  • dataproc.googleapis.com/job-uuid = Managed Service for Apache Spark job UUID
  • dataproc.googleapis.com/role

Exemples de requêtes :

labels."k8s-pod/dataproc_googleapis_com/cluster-uuid"="Managed Service for Apache Spark cluster UUID"
labels."k8s-pod/dataproc_googleapis_com/job-uuid"="Managed Service for Apache Spark job UUID"
labels."k8s-pod/dataproc_googleapis_com/role"="driver"

Étape suivante