cilium bpf metrics list
fails when preallocate-bpf-maps=true
#31501
Labels
kind/bug
This is a bug in the Cilium logic.
kind/community-report
This was reported by a user in the Cilium community, eg via Slack.
needs/triage
This issue requires triaging to establish severity and next steps.
sig/loader
Impacts the loading of BPF programs into the kernel.
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
Is there an existing issue for this?
What happened?
I have set the preallocate-bpf-maps=true in cilium config,
and when I run
cilium bpf metrics list
in cilium-agent pod, it reports error.I think it is because the cilium-dbg does not respect the config and not enable preallocation setting for bpf maps using
EnableMapPreAllocation()
Cilium Version
Kernel Version
Kubernetes Version
Regression
No response
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Cilium Users Document
Code of Conduct
The text was updated successfully, but these errors were encountered: