Skip to content

Commit

Permalink
fix(publick8s,privatek8s) ensure datadog setup works on AKS (Azure Li…
Browse files Browse the repository at this point in the history
…nux, Admission Controller) (#5133)

* fix(publick8s,privatek8s) support datadog hostname resolution on Azure Linux nodes

Signed-off-by: Damien Duportal <[email protected]>

* fix(publick8s,privatek8s) ensure AKS datadog admission controller does not fail webhooks

Note: this change applies Datadog recommendation for AKS
Ref. https://docs.datadoghq.com/containers/kubernetes/distributions/?tab=helm#AKS

Signed-off-by: Damien Duportal <[email protected]>

---------

Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal authored Apr 12, 2024
1 parent 35cce5f commit 8aa66f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/datadog_privatek8s.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
providers:
aks:
enabled: true
datadog:
clusterName: 'privatek8s'
env:
- name: DD_HOSTNAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
kubelet:
host:
valueFrom:
Expand Down
8 changes: 8 additions & 0 deletions config/datadog_publick8s.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
providers:
aks:
enabled: true
datadog:
clusterName: 'publick8s'
env:
- name: DD_HOSTNAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
kubelet:
host:
valueFrom:
Expand Down

0 comments on commit 8aa66f9

Please sign in to comment.