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
kubectlconfigured - 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
| Method | Advantages | Disadvantages |
|---|---|---|
| Helm (this guide) | Flexible, configurable, standard | Requires Helm knowledge |
| Datadog Operator | Lifecycle management, CRD-based | More complex to set up |
| Fargate Logging | No node management | Works 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.