From 35cce5f1742b34e83893ade6e321358497adb0ad Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Fri, 12 Apr 2024 19:02:14 +0200 Subject: [PATCH] fix(privatek8s/datadog) ensure datadog agent runs on all nodes by updating tolerations (#5132) Signed-off-by: Damien Duportal --- config/datadog_privatek8s.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/config/datadog_privatek8s.yaml b/config/datadog_privatek8s.yaml index ebfd2245e..e82175820 100644 --- a/config/datadog_privatek8s.yaml +++ b/config/datadog_privatek8s.yaml @@ -8,3 +8,29 @@ datadog: hostCAPath: /etc/kubernetes/certs/kubeletserver.crt # Required as of Agent 7.35 because Kubelet certificates in AKS do not have a Subject Alternative Name (SAN) set. tlsVerify: false +agents: + tolerations: + - key: "kubernetes.io/arch" + operator: "Equal" + value: "arm64" + effect: "NoSchedule" + - key: "CriticalAddonsOnly" + operator: "Equal" + value: "true" + effect: "NoSchedule" + - key: "jenkins" + operator: "Equal" + value: "infra.ci.jenkins.io" + effect: "NoSchedule" + - key: "jenkins" + operator: "Equal" + value: "release.ci.jenkins.io" + effect: "NoSchedule" + - key: "jenkins-component" + operator: "Equal" + value: "controller" + effect: "NoSchedule" + - key: "kubernetes.azure.com/scalesetpriority" + operator: "Equal" + value: "spot" + effect: "NoSchedule"