Skip to content

Commit

Permalink
Add /sys/fs/bpf to system-probe container volumes (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmahmood authored Dec 17, 2024
1 parent 92dd928 commit 3baa94b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 3.83.1

* Add /sys/fs/bpf to system-probe volume mounts

## 3.83.0

* Added the configuration value `datadog.disablePasswdMount` to disable mounting the `/etc/passwd` path from the host filesystem. This option should be used when the underlying OS does not have these files (e.g., Talos OS).
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.83.0
version: 3.83.1
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.83.0](https://img.shields.io/badge/Version-3.83.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.83.1](https://img.shields.io/badge/Version-3.83.1-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
6 changes: 6 additions & 0 deletions charts/datadog/templates/_container-system-probe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
mountPath: /sys/kernel/debug
mountPropagation: {{ .Values.datadog.hostVolumeMountPropagation }}
readOnly: false # Need RW for kprobe_events
{{- if .Values.datadog.networkMonitoring.enabled }}
- name: bpffs
mountPath: /sys/fs/bpf
mountPropagation: {{ .Values.datadog.hostVolumeMountPropagation }}
readOnly: true
{{- end }}
- name: config
mountPath: {{ template "datadog.confPath" . }}
readOnly: true
Expand Down
5 changes: 5 additions & 0 deletions charts/datadog/templates/_daemonset-volumes-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@
- hostPath:
path: /sys/kernel/debug
name: debugfs
{{- if .Values.datadog.networkMonitoring.enabled }}
- hostPath:
path: /sys/fs/bpf
name: bpffs
{{- end }}
- name: sysprobe-socket-dir
emptyDir: {}
{{- if and (eq (include "runtime-compilation-enabled" .) "true") .Values.datadog.systemProbe.enableDefaultKernelHeadersPaths }}
Expand Down

0 comments on commit 3baa94b

Please sign in to comment.