Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: add several new flags to control Cilium's datapath events notifications #30063

Merged
merged 1 commit into from
Mar 7, 2024

Commits on Mar 6, 2024

  1. agent: define new flags to control Cilium's datapath events notificat…

    …ions
    
    This commit introduces three new configuration flags for the Cilium agent, allowing users to choose the bpf event types they want to expose to Cilium monitor and Hubble.
     - `--bpf-events-drop-enabled`                                   Expose 'drop' events for Cilium monitor and/or Hubble (default true)
     - `--bpf-events-policy-verdict-enabled`                         Expose 'policy verdict' events for Cilium monitor and/or Hubble (default true)
     - `--bpf-events-trace-enabled`                                  Expose 'trace' events for Cilium monitor and/or Hubble (default true)
    
    The default values for these flags remain set to `true`, not changing the current behaviour.
    
    In our case, we found particularly useful to disable the TraceNotification in order to reduce the CPU overhead on some of our nodes when Hubble is enabled as we were mostly interested into dropped packets.
    
    Signed-off-by: Maxime Visonneau <maxime.visonneau@gmail.com>
    mvisonneau committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    b8830d8 View commit details
    Browse the repository at this point in the history