Skip to main content

Install Datadog on a SleakOps EKS Cluster

Install the Datadog monitoring agent on a SleakOps EKS cluster using Helm to gain full visibility into application performance and infrastructure health.

Prerequisites

  • A SleakOps EKS cluster with kubectl configured
  • A Datadog account and API key

Step 1 — Configure AWS CLI and kubectl

Verify your environment is ready:

aws --version
kubectl version --short

Step 2 — Add the Datadog Helm Repository

helm repo add datadog https://helm.datadoghq.com
helm repo update

Step 3 — Create values.yaml

datadog:
apiKey: <YOUR_DATADOG_API_KEY>
clusterName: <YOUR_CLUSTER_NAME>
logs:
enabled: true
containerCollectAll: true
apm:
portEnabled: true
processAgent:
enabled: true
warning

Do not commit values.yaml with the API key to a repository. Use a Kubernetes Secret or pass --set datadog.apiKey=... directly.

Step 4 — Install the Datadog Agent

helm install datadog-agent datadog/datadog \
--namespace datadog \
--create-namespace \
-f values.yaml

Step 5 — Verify the Installation

kubectl get pods -n datadog

All datadog-agent-* pods should reach Running state within a few minutes.

Installation Options Comparison

MethodAdvantagesDisadvantages
Helm (this guide)Flexible, configurable, standardRequires Helm knowledge
Datadog OperatorLifecycle management, CRD-basedMore complex to set up
Fargate LoggingNo node managementWorks only for specific workloads

Best Practices

  • Secure the API key: Store it in a Kubernetes Secret rather than directly in values.yaml.
  • Configure alerts: Set up Datadog monitors to get notified when infrastructure problems are detected.
  • Keep versions updated: Maintain both the Datadog agent and EKS cluster updated to avoid compatibility issues.