---
title: Kubernetes
description: Install and configure the Datadog Agent on Kubernetes
breadcrumbs: Docs > Containers > Kubernetes
---

# Kubernetes

{% callout %}
##### Join an enablement webinar session

This foundation enablement session will focus on how Datadog can monitor Kubernetes. Learn how to configure Datadog for Kubernetes and how to get started. Explore the various views and tools Datadog offers to visualize and analyze your cluster and application metrics, traces, and logs.

[SIGN UP](https://www.datadoghq.com/technical-enablement/sessions/?tags.topics-0=Kubernetes)
{% /callout %}

## Agent installation{% #agent-installation %}

You can install the Agent using either the [Datadog Operator](https://docs.datadoghq.com/containers/datadog_operator/) or Helm chart by following the [in-app installation guide in Fleet Automation](https://app.datadoghq.com/fleet/install-agent/latest?platform=kubernetes). This guided interface allows you to:

- Select your Kubernetes distribution (for example EKS, AKS, or GKE)
- Generate helm and kubectl commands with your API key prefilled
- Enable features such as APM, Log Management, tagging and other telemetry through UI-based configuration

{% image
   source="https://docs.dd-static.net/images/agent/basic_agent_usage/agent_install_k8.87a6fe7c46a100f599d01b336f611910.png?auto=format"
   alt="In-app installation steps for the Datadog Agent on Kubernetes." /%}

The Datadog Operator flow installs the Datadog Operator and uses Custom Resources to configure your observability coverage.

The Helm Chart flow installs the Datadog components more directly and offers similar toggles for observability features.

Both options allow you to manage a configuration: the Datadog Operator or Helm chart creates the Datadog Agent DaemonSet, Cluster Agent Deployment, and all their dependencies for your Kubernetes-based monitoring.

See [Supported Versions](https://docs.datadoghq.com/containers/kubernetes/installation?tab=datadogoperator#minimum-kubernetes-and-datadog-agent-versions) for the full list of Kubernetes versions supported by the Datadog Agent.

### Manual installation{% #manual-installation %}

The [in-app installation tool in Fleet Automation](https://app.datadoghq.com/fleet/install-agent/latest?platform=kubernetes) provides a guided way to build your configurations. You can also see the [Kubernetes installation docs](https://docs.datadoghq.com/containers/kubernetes/installation) for steps on how to deploy and configure the Datadog Operator or Datadog Helm chart manually in your enviornment.

Datadog recommends that you use the Datadog Operator or the Datadog Helm Chart to deploy all the Kubernetes resources for you. If you need to deploy the all the manifests directly consult the full [Kubernetes manual installation documentation](https://docs.datadoghq.com/containers/guide/kubernetes_daemonset/).

For Agent commands, see the [Agent Commands guides](https://docs.datadoghq.com/agent/configuration/agent-commands/). For information on the Datadog Cluster Agent and its role, see [Cluster Agent for Kubernetes](https://docs.datadoghq.com/containers/cluster_agent/).

- [Installation: Install the Datadog Agent in a Kubernetes environment.](https://docs.datadoghq.com/agent/kubernetes/installation)
- [Further Configuration: Collect events, override proxy settings, send custom metrics with DogStatsD, configure container allowlists and blocklists, and reference the full list of available environment variables.](https://docs.datadoghq.com/agent/kubernetes/configuration)
- [Distributions: Review base configurations for major Kubernetes distributions, including AWS Elastic Kubernetes Service (EKS), Azure Kubernetes Service (AKS), Google Kubernetes Engine (GKE), Red Hat OpenShift, Rancher, and Oracle Container Engine for Kubernetes (OKE).](https://docs.datadoghq.com/agent/kubernetes/distributions)
- [APM: Set up trace collection: configure the Agent to accept traces, configure your Pods to communicate with the Agent, and configure your application tracers to emit traces.](https://docs.datadoghq.com/agent/kubernetes/apm)
- [App and API Protection: Automatically enable App and API Protection for your Kubernetes ingress proxies and gateways to detect threats and protect APIs at the edge.](https://docs.datadoghq.com/agent/kubernetes/appsec)
- [CSI Driver: Install and set up Datadog CSI driver, and mount DogStatsD and Trace Agent UDS socket using Datadog CSI volumes.](https://docs.datadoghq.com/agent/kubernetes/csi)
- [Log collection: Set up log collection in a Kubernetes environment.](https://docs.datadoghq.com/agent/kubernetes/log)
- [Tag extraction: Configure the Agent to create and assign tags to all metrics, traces, and logs emitted by a container, Pod, or Node, based on Kubernetes labels or annotations.](https://docs.datadoghq.com/agent/kubernetes/tag)
- [Integrations & Autodiscovery: To configure integrations in a Kubernetes environment, use Datadog's Autodiscovery feature.](https://docs.datadoghq.com/agent/kubernetes/integrations)
- [Prometheus & OpenMetrics: Collect your exposed Prometheus and OpenMetrics metrics from your application running inside Kubernetes.](https://docs.datadoghq.com/agent/kubernetes/prometheus)
- [Control plane monitoring: Monitor the Kubernetes API server, controller manager, scheduler, and etcd.](https://docs.datadoghq.com/agent/kubernetes/control_plane)
- [Data Collected: See the list of metrics collected by the Agent when deployed on your Kubernetes cluster.](https://docs.datadoghq.com/agent/kubernetes/data_collected)

## Further Reading{% #further-reading %}

- [Getting Started with Kubernetes Observability](https://learn.datadoghq.com/courses/getting-started-k8s)
- [Check out the latest Datadog Containers releases (App login required).](https://app.datadoghq.com/release-notes?category=Container%20Monitoring)
- [Limit data collection to a subset of containers only](https://docs.datadoghq.com/agent/guide/autodiscovery-management)
- [Docker runtime deprecation in Kubernetes](https://docs.datadoghq.com/agent/guide/docker-deprecation)
- [Join an interactive session for insights on Kubernetes monitoring](https://dtdg.co/fe)
- [A guide on scaling out your Kubernetes pods with the Watermark Pod Autoscaler](https://www.datadoghq.com/blog/watermark-pod-autoscaler/)
- [Monitor your Kubernetes operators to keep applications running smoothly](https://www.datadoghq.com/blog/kubernetes-operator-performance)
