Logging with Stackdriver on Kubernetes Engine

Logging with Stackdriver on Kubernetes Engine

1시간 크레딧 5개


Google Cloud Self-Paced Labs


Stackdriver Logging can be used aggregate logs from all GCP resources as well as any custom resources (on other platforms) to allow for one centralized store for all logs and metrics. Logs are aggregated and then viewable within the provided Stackdriver Logging UI. They can also be exported to Sinks to support more specialized of use cases. Currently, Stackdriver Logging supports exporting to the following sinks:

  • Cloud Storage
  • Pub/Sub
  • BigQuery

In this lab you will deploy a sample application to Kubernetes Engine that forwards log events to Stackdriver Logging. Terraform, a declarative Infrastructure as Code tool that enables configuration files to be used to automate the deployment and evolution of infrastructure in the cloud. The configuration will also create a Cloud Storage bucket and a BigQuery dataset for exporting log data to.

This lab was created by GKE Helmsman engineers to give you a better understanding of Stackdriver Logging. You can view this demo on Github here. We encourage any and all to contribute to our assets!

이 실습의 나머지 부분과 기타 사항에 대해 알아보려면 Qwiklabs에 가입하세요.

  • Google Cloud Console에 대한 임시 액세스 권한을 얻습니다.
  • 초급부터 고급 수준까지 200여 개의 실습이 준비되어 있습니다.
  • 자신의 학습 속도에 맞춰 학습할 수 있도록 적은 분량으로 나누어져 있습니다.
이 실습을 시작하려면 가입하세요


Use Terraform to set up the necessary infrastructure

단계 진행

/ 50

View Logs in BigQuery

단계 진행

/ 50