Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm for autopilot and GDC #1679

Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Datadog changelog

## 3.91.0

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

## 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.0
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.0](https://img.shields.io/badge/Version-3.90.0-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 @@ -6,13 +6,13 @@ metadata:
name: datadog-clusterchecks
namespace: datadog-agent
labels:
helm.sh/chart: 'datadog-3.90.0'
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: a4c4f992728ab92c056e58623747a4937611a96e617e9369bbbd09486a83aaa4
checksum/install_info: 3b9b3e85592ca511f47e6f39152d86a2c22f1ecc6fe577f4a9f78fa7e78097a4
checksum/clusteragent_token: 8f3b3c8b7cfa2cda5ff4136a1169d5b997a5f93b2a505411319066c36b4dbfc6
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.0'
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: 7de9189e8b09b0220e39687e09632b5f9c164bab572826f08c467143a74f5fdd
checksum/clusteragent-configmap: b80db4e65821dd6bcd24691a57341dbf840b5ac2c7e635060f0e8ae83f6597c1
checksum/api_key: e8756335f64a19cdbc31bf5c1e01c7cc4fa57310bf1a1739384243a8adada70c
checksum/clusteragent_token: c9e63cc924f65c90c9db043c85691922f903454f911800caf22b5331c09eb95a
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 3b9b3e85592ca511f47e6f39152d86a2c22f1ecc6fe577f4a9f78fa7e78097a4
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.0'
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: 2e89c377e0aaca3b109a0e88bfd037558ed48fb189b5fa93fce66965c2f5775a
checksum/clusteragent-configmap: b80db4e65821dd6bcd24691a57341dbf840b5ac2c7e635060f0e8ae83f6597c1
checksum/api_key: e8756335f64a19cdbc31bf5c1e01c7cc4fa57310bf1a1739384243a8adada70c
checksum/clusteragent_token: f089f3678f8a3df78afc7ef68c772db6ec759491285736d3d980f00847634be2
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 3b9b3e85592ca511f47e6f39152d86a2c22f1ecc6fe577f4a9f78fa7e78097a4
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.0'
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: 006359294812b6f3dc99795439e6d9bb00899277b38234560d155ef214fbc747
checksum/clusteragent-configmap: b80db4e65821dd6bcd24691a57341dbf840b5ac2c7e635060f0e8ae83f6597c1
checksum/api_key: e8756335f64a19cdbc31bf5c1e01c7cc4fa57310bf1a1739384243a8adada70c
checksum/clusteragent_token: 3a1c3382ada88b2d39c40936b49cd1a4466546419509613522b2a5c11439f571
checksum/clusteragent-configmap: 04f78cc8c755f4c6debb07948b1bf8318109acb1f32d624857bf409e9e7570c0
checksum/api_key: 657e19756058df21cac9dd8bdb1289cdf8ab0a632155ce5b9cd382881874a62f
checksum/application_key: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/install_info: 3b9b3e85592ca511f47e6f39152d86a2c22f1ecc6fe577f4a9f78fa7e78097a4
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