menu
arrow_back

Monitoring with Stackdriver on Kubernetes Engine

Monitoring with Stackdriver on Kubernetes Engine

1 个小时 5 个积分

GKE-logo.png

GSP497

Google Cloud Self-Paced Labs

Overview

Kubernetes Engine Monitoring is a new Cloud Monitoring feature that more tightly integrates with GKE to better show you key stats about your cluster and the workloads and services running in it. Included in the new feature is functionality to import, as native Cloud Monitoring metrics, metrics from pods with Prometheus endpoints. This allows you to use Cloud Monitoring native alerting functionality with your Prometheus metrics without any additional workload.

In this lab, you will set up Monitoring and visualizing metrics from a Kubernetes Engine cluster. It makes use of 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 logs from the Kubernetes Engine cluster will be leveraged to walk through the monitoring capabilities of Cloud Monitoring.

Note: The setup of the Cloud Monitoring workspace is not automated with a script because it is currently not supported through Terraform or via the gcloud command line tool.

This lab was created by GKE Helmsman engineers to help you grasp a better understanding of Cloud Monitoring with Kubernetes Engine. You can view this demo on Github here. We encourage any and all to contribute to our assets!

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验
分数

—/100

Create Cloud Monitoring workspace

运行步骤

/ 20

Deploy the cluster and required resources using Terraform

运行步骤

/ 40

Teardown (Clean-up)

运行步骤

/ 40