Skip to content

Commit

Permalink
Fix npm for autopilot and GDC (#1679)
Browse files Browse the repository at this point in the history
* fix npm and autopilot and gdc

* fix ci

* newline

* bump chart version and update baselines
  • Loading branch information
fanny-jiang authored Feb 7, 2025
1 parent eead5ac commit 700f22f
Show file tree
Hide file tree
Showing 14 changed files with 218 additions and 205 deletions.
5 changes: 4 additions & 1 deletion charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 3.91.0

* Enable `system-probe` container on GKE Autopilot.

## 3.90.2

* Adds env vars `DD_AGENT_IPC_PORT` and `DD_AGENT_IPC_CONFIG_REFRESH_INTERVAL` when Otel Agent is enabled and adds flag `--sync-delay=30s` to otel agent.
Expand All @@ -10,7 +14,6 @@

## 3.90.0

* Enable `system-probe` container on GKE Autopilot
* Set default `Agent` and `Cluster-Agent` version to `7.62.0`.

## 3.89.0
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v1
name: datadog
version: 3.90.2
version: 3.91.0
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.90.2](https://img.shields.io/badge/Version-3.90.2-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.91.0](https://img.shields.io/badge/Version-3.91.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)

[Datadog](https://www.datadoghq.com/) is a hosted infrastructure monitoring platform. This chart adds the Datadog Agent to all nodes in your cluster via a DaemonSet. It also optionally depends on the [kube-state-metrics chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics). For more information about monitoring Kubernetes with Datadog, please refer to the [Datadog documentation website](https://docs.datadoghq.com/agent/basic_agent_usage/kubernetes/).

Expand Down
14 changes: 14 additions & 0 deletions charts/datadog/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,20 @@ On GKE Autopilot environments, SBOM Monitoring is not supported. The options 'da

{{- end }}

{{- if .Values.providers.gke.gdc }}

{{- if .Values.datadog.networkMonitoring.enabled }}

#######################################################################################
#### WARNING: Network Performance Monitoring is not supported on GKE GDC ####
#######################################################################################

{{- fail "On GKE GDC environments, Network Performance Monitoring is not supported. The option 'datadog.networkMonitoring.enabled' must be set to 'false'" }}

{{- end }}

{{- end }}

{{- if and (.Values.datadog.dogstatsd.useSocketVolume) (eq .Values.targetSystem "windows") }}

###################################################################################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{{- define "linux-container-host-release-volumemounts" -}}
{{- if or .Values.datadog.osReleasePath .Values.datadog.systemProbe.osReleasePath }}
{{- if and (eq (include "should-enable-system-probe" .) "true") (not .Values.providers.gke.gdc) }}
{{- if not .Values.providers.gke.gdc }}
{{- if eq (include "should-enable-system-probe" .) "true" }}
- name: os-release-file
mountPath: /host{{ .Values.datadog.systemProbe.osReleasePath | default .Values.datadog.osReleasePath }}
readOnly: true
{{- else if .Values.datadog.osReleasePath }}
{{- else if .Values.datadog.osReleasePath }}
- name: os-release-file
mountPath: /host{{ .Values.datadog.osReleasePath }}
readOnly: true
{{- end }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-2.5.1
helm.sh/chart: datadog-operator-2.5.2
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.11.1"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ metadata:
name: datadog-clusterchecks
namespace: datadog-agent
labels:
helm.sh/chart: 'datadog-3.90.1'
helm.sh/chart: 'datadog-3.91.0'
app.kubernetes.io/name: "datadog"
app.kubernetes.io/instance: "datadog"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "7"
app.kubernetes.io/component: clusterchecks-agent

spec:
replicas: 2
revisionHistoryLimit: 10
Expand All @@ -33,11 +33,11 @@ spec:
app.kubernetes.io/component: clusterchecks-agent
admission.datadoghq.com/enabled: "false"
app: datadog-clusterchecks

name: datadog-clusterchecks
annotations:
checksum/clusteragent_token: 82707f47b0bfc55fc39a2740339e31da8b81064a3a1af2eb7ad07b8cefca2060
checksum/install_info: 9723455d5ab3318a8d2a46e64a29d03b3142738df48c8a9ccac656513fd33065
checksum/clusteragent_token: 247c426a527d3914cf4c9ed1f016b3ba0b4797064af564486f45cd0b2f13174d
checksum/install_info: d99057d2f27261db48a091cf5b114431385f7e656a0b4575b81b9ade7b02583d
spec:
serviceAccountName: datadog-cluster-checks
automountServiceAccountToken: true
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
- find /etc/datadog-agent/conf.d/ -name "*.yaml.default" -type f -delete && touch /etc/datadog-agent/datadog.yaml && exec agent run
imagePullPolicy: IfNotPresent
env:

- name: KUBERNETES
value: "yes"
- name: DD_API_KEY
Expand Down Expand Up @@ -129,8 +129,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName


resources:
{}
volumeMounts:
Expand Down Expand Up @@ -189,4 +189,4 @@ spec:
app: datadog-clusterchecks
topologyKey: kubernetes.io/hostname
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/os: linux
24 changes: 12 additions & 12 deletions test/datadog/baseline/cluster-agent-deployment_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ metadata:
name: datadog-cluster-agent
namespace: datadog-agent
labels:
helm.sh/chart: 'datadog-3.90.1'
helm.sh/chart: 'datadog-3.91.0'
app.kubernetes.io/name: "datadog"
app.kubernetes.io/instance: "datadog"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "7"
app.kubernetes.io/component: cluster-agent

spec:
replicas: 1
revisionHistoryLimit: 10
Expand All @@ -33,14 +33,14 @@ spec:
app.kubernetes.io/component: cluster-agent
admission.datadoghq.com/enabled: "false"
app: datadog-cluster-agent

name: datadog-cluster-agent
annotations:
checksum/clusteragent_token: 2a79fd54ee54b48b65cf8755fb30c0a8709de2d17d4498be14a4f81d7e62c7e6
checksum/clusteragent-configmap: abfb71847d6ccb5c229cccfd8379d84bcc99108fbea76f413e0b3d80396e8e6b
checksum/api_key: 729a3b093f470188d114eb0722e0b462aaf964f2d2658fcde4c0ef405ca03123
checksum/clusteragent_token: a456a0b0db2dcb0a05cc06a3b8cccd630ce47a103199f363970edeb225ed57e7
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 9723455d5ab3318a8d2a46e64a29d03b3142738df48c8a9ccac656513fd33065
checksum/install_info: d99057d2f27261db48a091cf5b114431385f7e656a0b4575b81b9ade7b02583d
spec:
serviceAccountName: datadog-cluster-agent
automountServiceAccountToken: true
Expand Down Expand Up @@ -90,7 +90,7 @@ spec:
name: "datadog"
key: api-key
optional: true

- name: KUBERNETES
value: "yes"
- name: DD_LANGUAGE_DETECTION_ENABLED
Expand Down Expand Up @@ -119,8 +119,8 @@ spec:
value: "8000"
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: "gcr.io/datadoghq"


- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
- name: DD_CLUSTER_CHECKS_ENABLED
Expand Down Expand Up @@ -183,7 +183,7 @@ spec:
configMapKeyRef:
name: datadog-kpi-telemetry-configmap
key: install_type

livenessProbe:
failureThreshold: 6
httpGet:
Expand Down Expand Up @@ -268,4 +268,4 @@ spec:
app: datadog-cluster-agent
topologyKey: kubernetes.io/hostname
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/os: linux
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ metadata:
name: datadog-cluster-agent
namespace: datadog-agent
labels:
helm.sh/chart: 'datadog-3.90.1'
helm.sh/chart: 'datadog-3.91.0'
app.kubernetes.io/name: "datadog"
app.kubernetes.io/instance: "datadog"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "7"
app.kubernetes.io/component: cluster-agent

spec:
replicas: 1
revisionHistoryLimit: 10
Expand All @@ -33,14 +33,14 @@ spec:
app.kubernetes.io/component: cluster-agent
admission.datadoghq.com/enabled: "false"
app: datadog-cluster-agent

name: datadog-cluster-agent
annotations:
checksum/clusteragent_token: da73eb12114a230565e36abba3c29649d8fd0c8dd4fa0940ef4ef23512120e52
checksum/clusteragent-configmap: abfb71847d6ccb5c229cccfd8379d84bcc99108fbea76f413e0b3d80396e8e6b
checksum/api_key: 729a3b093f470188d114eb0722e0b462aaf964f2d2658fcde4c0ef405ca03123
checksum/clusteragent_token: 8d8f3cd91285a7d6e1507a1f1435fc5fd21778965cf685a462238553841a2daf
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 9723455d5ab3318a8d2a46e64a29d03b3142738df48c8a9ccac656513fd33065
checksum/install_info: d99057d2f27261db48a091cf5b114431385f7e656a0b4575b81b9ade7b02583d
spec:
serviceAccountName: datadog-cluster-agent
automountServiceAccountToken: true
Expand Down Expand Up @@ -90,7 +90,7 @@ spec:
name: "datadog"
key: api-key
optional: true

- name: KUBERNETES
value: "yes"
- name: DD_LANGUAGE_DETECTION_ENABLED
Expand Down Expand Up @@ -119,8 +119,8 @@ spec:
value: "8000"
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: "gcr.io/datadoghq"


- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_ENABLED
value: "true"
- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_CLUSTER_AGENT_ENABLED
Expand Down Expand Up @@ -197,7 +197,7 @@ spec:
configMapKeyRef:
name: datadog-kpi-telemetry-configmap
key: install_type

livenessProbe:
failureThreshold: 6
httpGet:
Expand Down Expand Up @@ -282,4 +282,4 @@ spec:
app: datadog-cluster-agent
topologyKey: kubernetes.io/hostname
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/os: linux
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ metadata:
name: datadog-cluster-agent
namespace: datadog-agent
labels:
helm.sh/chart: 'datadog-3.90.1'
helm.sh/chart: 'datadog-3.91.0'
app.kubernetes.io/name: "datadog"
app.kubernetes.io/instance: "datadog"
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: "7"
app.kubernetes.io/component: cluster-agent

spec:
replicas: 1
revisionHistoryLimit: 10
Expand All @@ -33,14 +33,14 @@ spec:
app.kubernetes.io/component: cluster-agent
admission.datadoghq.com/enabled: "false"
app: datadog-cluster-agent

name: datadog-cluster-agent
annotations:
checksum/clusteragent_token: 041ef1801306228d46d7eec4638bca9ce06c2ed5d1a158f9d03fae036e5a5661
checksum/clusteragent-configmap: abfb71847d6ccb5c229cccfd8379d84bcc99108fbea76f413e0b3d80396e8e6b
checksum/api_key: 729a3b093f470188d114eb0722e0b462aaf964f2d2658fcde4c0ef405ca03123
checksum/clusteragent_token: 443892528b5e1ffddee461bdd9a241aa564cd5126cf4d6f36b7af5d50a94d884
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 9723455d5ab3318a8d2a46e64a29d03b3142738df48c8a9ccac656513fd33065
checksum/install_info: d99057d2f27261db48a091cf5b114431385f7e656a0b4575b81b9ade7b02583d
spec:
serviceAccountName: datadog-cluster-agent
automountServiceAccountToken: true
Expand Down Expand Up @@ -90,7 +90,7 @@ spec:
name: "datadog"
key: api-key
optional: true

- name: KUBERNETES
value: "yes"
- name: DD_LANGUAGE_DETECTION_ENABLED
Expand Down Expand Up @@ -119,8 +119,8 @@ spec:
value: "8000"
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: "gcr.io/datadoghq"


- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_ENABLED
value: "true"
- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_CLUSTER_AGENT_ENABLED
Expand Down Expand Up @@ -193,7 +193,7 @@ spec:
configMapKeyRef:
name: datadog-kpi-telemetry-configmap
key: install_type

livenessProbe:
failureThreshold: 6
httpGet:
Expand Down Expand Up @@ -278,4 +278,4 @@ spec:
app: datadog-cluster-agent
topologyKey: kubernetes.io/hostname
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/os: linux
Loading

0 comments on commit 700f22f

Please sign in to comment.