Skip to content

The datadog-agent fails to deploy on EKS Fargate #3

Discussion options

milldr
Oct 26, 2022
Maintainer Sponsor

You must be logged in to vote

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:

components:
  terraform:
    datadog-agent:
      vars:
...
        values:
          agents:
            affinity:
              nodeAffinity:
                requiredDuringSchedulingIgnoredDuringExecution:
                  nodeSelectorTerms:
                  - matchExpressions:
                    - key: eks.amazonaws.com/compute-type
                      operator: NotIn
                      values:
                      - fargate

But there is more

From Datadog documentation:

If the EKS cluster runs F…

Replies: 0 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Benbentwo
Comment options

Comment options

milldr
Oct 26, 2022
Maintainer Author Sponsor

You must be logged in to vote
2 replies
@osterman
Comment options

@Benbentwo
Comment options

Answer selected by Nuru
Comment options

You must be logged in to vote
1 reply
@Nuru
Comment options

Nuru Oct 28, 2022
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment