Google Kubernetes Engine, Agent
Overview
Google Kubernetes Engine (GKE), a service on the Google Cloud Platform (GCP), is a hosted platform for running and orchestrating containerized applications backed by Kubernetes. GKE clusters can be monitored by the Google Cloud Platform integration as well as by the Datadog Agent running as workloads within the cluster.
Setup
Prerequisites
Ensure that your role in your GCP project has the proper permissions to use GKE.
Enable the Google Container Engine API for your project.
Install the Google Cloud SDK and the kubectl
command line tool on your local machine. Once you pair the Cloud SDK with your GCP account, you can control your clusters directly from your local machine using kubectl
.
Set up the GCE integration
Install the Google Cloud Platform integration.
You can then access an out-of-the-box Google Compute Engine dashboard that displays metrics like disk I/O, CPU utilization, and network traffic.
Set up the Kubernetes integration
To further monitor your GKE cluster, install the Datadog Agent using the Datadog Helm Chart or Datadog Operator. Once deployed, the Datadog Agent and Datadog Cluster Agent monitor your cluster and the workloads on it.
GKE supports two main modes of operation that can change the level of flexibility, responsibility, and control that you have over your cluster. These different modes change how you deploy the Datadog components.
Standard: You manage the cluster’s underlying infrastructure, giving you node configuration flexibility.
Autopilot: Google provisions and manages the entire cluster’s underlying infrastructure, including nodes and node pools, giving you an optimized cluster with a hands-off experience.
Further Reading