k8wiz
Cilium
Hard
Policies

A CiliumNetworkPolicy contains HTTP rules, such as allowing only GET requests to /api. Which component enforces those rules?

Select your answer:

Show answer and explanation

Answer: An Envoy proxy that Cilium redirects the matching traffic to

Explanation

eBPF programs enforce L3 and L4 rules in the kernel. When a rule has an L7 section, the datapath redirects that traffic to Envoy, which parses the HTTP or gRPC requests and applies the rule. Envoy runs inside the agent or as a separate cilium-envoy DaemonSet. Only traffic selected by L7 rules goes through the proxy.