Skip to content
Open
Changes from all 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
11 changes: 3 additions & 8 deletions charts/nr-k8s-otel-collector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ spec:
- name: final-daemonset-config
mountPath: /config
{{- if .Values.enable_atp }}
# ATP requires persistent storage to maintain state across restarts (thresholds, history).
# This hostPath volume ensures ATP data survives pod restarts on the same node.
# ATP storage for adaptive telemetry state (thresholds, anomaly history, tracked entities).
- name: nrdot-data-storage
mountPath: /var/lib/nrdot-collector
{{- end }}
Expand All @@ -185,13 +184,9 @@ spec:
configMap:
name: {{ include "nrKubernetesOtel.daemonset.configMap.fullname" . }}
{{- if .Values.enable_atp }}
# ATP storage volume: Uses hostPath to persist adaptive telemetry processor state.
# DirectoryOrCreate ensures the directory is created if it doesn't exist.
# Data persists across pod restarts but is node-specific (DaemonSet behavior).
# ATP storage volume: Uses emptyDir for temporary pod-local storage.
- name: nrdot-data-storage
hostPath:
path: /var/lib/nrdot-collector
type: DirectoryOrCreate
emptyDir: {}
{{- end }}
{{- with .Values.daemonset.extraVolumes }}
{{- toYaml . | nindent 8 }}
Expand Down
Loading