Add /tmp emptyDir mount for pyroscope.ebpf symbol cache

pyroscope.ebpf creates /tmp/symb-cache at startup. Nix-built
container images have a read-only root filesystem, so /tmp needs
an emptyDir volume mount.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-26 15:24:27 -07:00
commit f1bc7531c5

View file

@ -44,6 +44,8 @@ spec:
mountPath: /etc/alloy
- name: data
mountPath: /var/lib/alloy/data
- name: tmp
mountPath: /tmp
securityContext:
privileged: true
tolerations:
@ -54,3 +56,5 @@ spec:
name: alloy-profiling-config
- name: data
emptyDir: {}
- name: tmp
emptyDir: {}