Mount host /proc and /sys for eBPF kernel symbol access
pyroscope.ebpf needs /proc/kallsyms and tracefs access for eBPF profiling. Mount host /proc and /sys into the container. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f1bc7531c5
commit
a4b5a8d917
1 changed files with 12 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ spec:
|
|||
mountPath: /var/lib/alloy/data
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
- name: host-proc
|
||||
mountPath: /host/proc
|
||||
readOnly: true
|
||||
- name: host-sys
|
||||
mountPath: /host/sys
|
||||
readOnly: true
|
||||
securityContext:
|
||||
privileged: true
|
||||
tolerations:
|
||||
|
|
@ -58,3 +64,9 @@ spec:
|
|||
emptyDir: {}
|
||||
- name: tmp
|
||||
emptyDir: {}
|
||||
- name: host-proc
|
||||
hostPath:
|
||||
path: /proc
|
||||
- name: host-sys
|
||||
hostPath:
|
||||
path: /sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue