The datadog-agent
fails to deploy on EKS Fargate
#3
-
Problem
The Datadog Cluster Agent reports
Reference
|
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 8 replies
-
aws/containers-roadmap#971 (comment) - they are not supported, hence this issue - the Daemoneset is still trying to create the pod for it |
Beta Was this translation helpful? Give feedback.
-
For ECS + Fargate, run Datadog as a Replica Service |
Beta Was this translation helpful? Give feedback.
-
SolutionDatadog Agent shouldn't be deployed to Fargate! Use affinity to declare which nodes should be excluded. For example, add the following values to the
But there is moreFrom Datadog documentation:
Unanswered
|
Beta Was this translation helpful? Give feedback.
-
The problem context here is that we have a cluster with Karpenter and Fargate. A singular namespace is dedicated to fargate, specifically karpenter. This allows us to spin up a perfectly sized cluster on ec2 via a serverless methodology. This means our nodes are mostly ec2 instances, with a few for Fargate for the karpenter deployments. The issue arises in that we need datadog monitoring for our average deployments (standard charts deployed on ec2 ASG managed by karpenter). To monitor this we need datadogs default helm chart for the datadog agent. Thus we must use the Helm Charts methodology for Node Affinity. Another methodology that could work would be to create a scheduler specifically for fargate, and another default scheduler for non fargate nodes. This could work cluster wide so no customizations are needed. |
Beta Was this translation helpful? Give feedback.
Solution
Datadog Agent shouldn't be deployed to Fargate! Use affinity to declare which nodes should be excluded. For example, add the following values to the
datadog-agent
component:But there is more
From Datadog documentation: