Enable bpf-masquerading on direct routing #349
Labels
area/networking
Networking related
area/performance
Performance (across all domains, such as control plane, networking, storage, etc.) related
kind/enhancement
Enhancement, improvement, extension
How to categorize this issue?
/area networking
/area performance
/kind enhancement
What would you like to be added:
I would like to enable BPF masquerading for scenarios where direct routing (tunnel: disabled) is used.
Currently, BPF masquerading is disabled by default in this configuration, which forces the use of IPTables for masquerading and disables BPF host routing.
The request is to modify the configuration so that BPF masquerading can be used by default, unless SNAT masquerading (snatToUpstreamDNS & snatToUpstreamDNS) is enabled which creates IPTables rules in cilium init containers.
Why is this needed:
Enabling BPF masquerading allows the use of BPF host routing, which offers performance benefits and better leverages the advanced networking capabilities of BPF. The current behavior of disabling BPF masquerading requires using the legacy IPTables host routing mode.
Logs from cilium when
enable-bpf-masquerade
is missing in cilium-configThe text was updated successfully, but these errors were encountered: