Skip to content

[Epic] Removing clang from the Cilium agent image ('clang-free') #27446

@ti-mo

Description

@ti-mo

This issue is for tracking work on removing the LLVM compilation toolchain from the Cilium agent runtime image and shipping prebuilt eBPF ELFs embedded in the agent binary. In short, this will provide a more natural developer experience (if (feature_foo) { ... } instead of #ifdef FEATURE_FOO), avoids high CPU consumption due to datapath (re)compilations during upgrades and reconfigs, allows for using real datapath ELFs in tests, and is a massive step in general towards shipping a distroless container image, the benefits of which won't be outlined here.

For anyone wishing to follow along, see the clang-free milestone.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.area/loaderImpacts the loading of BPF programs into the kernel.help-wantedPlease volunteer for this by adding yourself as an assignee!kind/enhancementThis would improve or streamline existing functionality.kind/metaMeta-task for co-ordination.pinnedThese issues are not marked stale by our issue bot.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions