Skip to content

Commit 2940edd

Browse files
authored
Merge pull request #87 from dreamerlzl/list-pod-cri
feat: add volume mount for containerd socket
2 parents 9d3cd50 + 2529784 commit 2940edd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

charts/parca/templates/agent-daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ spec:
9494
name: cgroup
9595
- mountPath: /sys/fs/bpf
9696
name: bpffs
97+
# NOTE: modify this if containerd is not used
98+
- mountPath: /run/containerd/
99+
name: cri-socket
97100
- mountPath: /var/parca
98101
name: {{ include "parca.fullname" . }}-agent-config
99102
{{- if .Values.agent.remoteStoreBearerToken }}
@@ -124,6 +127,10 @@ spec:
124127
- hostPath:
125128
path: /sys/kernel/debug
126129
name: debugfs
130+
# NOTE: modify this if containerd is not used
131+
- hostPath:
132+
path: /run/containerd/
133+
name: cri-socket
127134
- configMap:
128135
name: {{ include "parca.fullname" . }}-agent-config
129136
name: {{ include "parca.fullname" . }}-agent-config

0 commit comments

Comments
 (0)