Skip to content

[Helm] Missing CAP_BPF in retina-agent Daemonset spec #2236

@ohookins

Description

@ohookins

Describe the bug
The linuxutil and packetforward plugins (which are enabled by default in the basic setup instructions) require the CAP_BPF kernel capability. However this seems to be missing from the default set of capabilities added in the Helm chart:

As a result, the agent errors out being unable to retrieve any metrics from any of the present interfaces.

To Reproduce
Steps to reproduce the behavior:

  1. Install retina-agent via the Helm chart.
  2. Observe that the daemonset and pods lack the CAP_BPF capability.
  3. Observe that the agent cannot retrieve any interface metrics.

Expected behavior
BPF is added to the default set of capabilities in the Helm chart.

Screenshots
N/A

Platform (please complete the following information):

  • OS: Amazon Linux 2
  • Kubernetes Version: EKS 1.34
  • Host: AWS EC2 instances
  • Retina Version: 1.20

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions