~/talk

Drawing Lines in the Sand, or Running Unprivileged eBPF in Kubernetes

links:none on file
slides:none on file

eBPF often does not need full privileged:true: on modern kernels (>= 5.8) a minimum of CAP_BPF only (kernels >=5.8) plus usually CAP_PERFMON to read perf events runs many probes. Persistent maps force bpffs mounts, which is why people turn on privileged, but a short-lived init-container mounts bpffs then drops privileges for the main pod avoids that. Specific features need specific caps: CAP_NET_RAW to sniff sockets and CAP_NET_ADMIN to attach traffic-control/modify packets.

AI-written summary · about

  1. 0:00eBPF introduction
  2. 1:04What eBPF is and why it matters
  3. 3:54eBPF use cases in Kubernetes
  4. 6:25eBPF elevated permissions need
  5. 7:52BPF filesystem permission challenge
  6. 10:42BPF init containers solution
  7. 11:48Minimal eBPF permissions
  8. 13:33Network monitoring requirements
  9. 15:00User space library monitoring
  10. 17:28Cases requiring system admin
  11. 19:13eBPF permissions takeaways
  12. 20:37Q&A on unprivileged eBPF
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.