Scope note: the Cilium comparison below focuses on SPIRE-backed mutual authentication and separately configured IPsec/WireGuard encryption. Cilium 1.20.4 also documents a distinct ztunnel encryption option marked Beta; it is not evaluated here. Check the selected mode’s limitations, including traffic coverage, rather than assuming that enabling one setting protects every path. Cilium encryption documentation
A common service-mesh design places a sidecar proxy, often Envoy, alongside each application pod. It can provide mutual TLS (mTLS), traffic routing and observability, but it also adds proxy resource use and lifecycle management. The size of that overhead depends on the workload and enabled features.
An alternative is to use sidecarless service meshes. These designs move some functions out of individual application pods and can separate transport security from application-layer processing. This comparison describes architectural trade-offs, not an industry-wide adoption claim or a measured performance contest.
We will examine Istio Ambient Mesh and Cilium eBPF with its service-mesh features. We will compare identity, encryption, policy and operational trade-offs for Kubernetes. Importantly, Cilium's SPIRE-backed mutual authentication and data-stream encryption are separate mechanisms; they must not be presented as interchangeable with Istio's HBONE mTLS tunnels. [design, enc]
Sidecar vs. Sidecarless Architectural Evolution
How network interception has evolved from Pod-level Sidecars to Node-level Shared Agents.
Pod-level Interception
Each application pod has its own Envoy proxy. The proxy consumes resources and adds lifecycle considerations; actual overhead varies.
ZTUNNEL + Waypoint Proxy
Split architecture: the node-local ztunnel provides the L4 secure overlay. Optional Envoy waypoints provide supported L7 capabilities, with attachment configured for the selected Istio release.
eBPF Networking, Authentication and Separate Encryption
eBPF implements datapath policy. SPIRE supports mutual authentication between Cilium agents; payload encryption such as WireGuard/IPsec requires its own configuration. Envoy handles applicable L7 processing.
Architectural Underpinnings: How They Work
1. Istio Ambient Mesh: The Dual-Layer Split Architecture
Istio Ambient Mesh abandons the pod injection model entirely, segmenting its data plane into two specialized, shared operational layers:
- Ztunnel (Zero Trust Tunnel): A Rust-based node proxy that provides the Layer 4 secure overlay. It handles traffic for enrolled workloads, workload identities and TCP telemetry. Connections between mesh proxies use HBONE (HTTP-Based Overlay Network Environment), which multiplexes TCP streams through HTTP/2 CONNECT tunnels protected by mTLS. [hbone]
- Waypoint Proxies: Waypoints are separate Envoy deployments for supported L7 routing, policy and telemetry. They are configured through the Kubernetes Gateway API; enrollment and policy attachment must match the chosen Istio release. Do not assume all sidecar-era APIs behave identically with waypoints. [waypoint, l7]
Keeping ztunnel outside the application pod separates trust boundaries, but protection still depends on enrollment, policy and privileges. Compromise of a node or ztunnel can affect workloads on that node; this is not an unconditional bypass-proof guarantee. [model]
2. Cilium eBPF: Datapath and Proxy Responsibilities
Cilium leverages the Linux kernel’s native observability and manipulation capability via Extended Berkeley Packet Filter (eBPF). Datapath details depend on the kernel, configuration and Cilium version. Linux provides socket facilities such as sockmap, but their existence is not evidence that every Cilium flow bypasses the entire TCP/IP stack. Applicable L7 traffic can require proxy processing. [design]
In Cilium's sidecarless model:
- eBPF Datapath: Cilium can enforce networking policy in the kernel. The path taken by a particular connection must be checked for the installed configuration; same-node traffic is not a universal zero-overhead case. [design]
- Mutual Authentication and SPIFFE/SPIRE: Cilium's documented SPIRE-backed mutual authentication uses an out-of-band handshake between agents. It is distinct from encrypting the application's data stream. In the cited Cilium 1.20.4 documentation the feature remains beta, with explicit limitations; configure and verify encryption separately. [auth]
๐ก️ Istio Ambient Mesh
An option for teams that want the Istio control plane without a sidecar in every application pod.
Pros
- Reuses the Istio control plane; check API and feature compatibility for Ambient. [l7]
- Clear architectural separation between L4 (mTLS) and L7 (Routing).
- Enrollment does not require injecting a sidecar into each application pod.
- L4-only deployments avoid the extra L7 waypoint layer; measure actual resource use.
Cons
- HBONE encapsulation adds tunnel wrapper overhead.
- Requires provisioning dedicated Waypoint Proxies for L7 policy enforcement.
⚡ Cilium eBPF Service Mesh
An option for teams evaluating integrated Kubernetes networking, policy and service-mesh capabilities.
Pros
- eBPF-based datapath and policy enforcement.
- Configurable transparent encryption; performance depends on the selected mode and workload.
- SPIRE-backed mutual-authentication integration, with documented beta limitations.
- Networking and service-mesh features in one platform, without identical security semantics for every mode.
Cons
- Kernel and feature requirements must match the Cilium release and distribution.
- Steep learning curve for custom eBPF debugging and observability.
Cryptographic Workload Identity and PKI Deep Dive
The two designs establish workload identity differently. Here we compare Istio's proxy-mediated mTLS with Cilium's documented SPIRE-backed authentication path; do not treat authentication alone as payload confidentiality.
Istio Ambient PKI & Ztunnel Bootstrapping
In Ambient, the secure-overlay keys are handled by Ztunnel for the identities of enrolled workloads on its node. The Istio control plane, istiod , coordinates configuration and the configured CA integration. Certificate signing requests ( CSR ) and identity authorization must follow the selected release’s documented flow. Application-specific keys outside the mesh are separate.
Ztunnel is authorized to request certificates for service-account identities of workloads on its own node. The CA must enforce this node-local boundary. Do not assume it uses each application's token or a direct CRI watcher; use the installed release's documented flow. With istiod , the following is an illustrative identity, not an executable CSR or a tested CA-integration recipe: [model, control]
# Illustrative identity only; not an executable CSR or deployment recipe. Workload service account: finance/payments-sa Example SAN: spiffe://cluster.local/ns/finance/sa/payments-sa Issuer: the configured supported Istio CA integration Private key: held by the node-local ztunnel for mesh traffic Authorization boundary: only identities of workloads on that node
Cilium, SPIFFE and Out-of-Band Mutual Authentication
For the documented mutual-authentication feature, Cilium uses SPIRE (SPIFFE Runtime Environment). Cilium's integration registers and retrieves identities through SPIRE. Do not assume that its identity strings are the same service-account paths as Istio's example above. [example]
At a high level, the documented authentication path is:
- A policy rule requires authentication for selected traffic.
- The datapath checks whether the required authentication state is available.
- If authentication is needed, Cilium agents perform the out-of-band identity handshake using the SPIRE integration.
- The resulting authentication state is used for policy enforcement. Payload encryption remains a separate configuration, and beta security-model limitations still apply. [design]
The Core Architectural Comparison at a Glance
Network Interception
Istio Ambient: istio-cni and ztunnel cooperate on in-pod traffic capture.
Cilium: eBPF datapath policy; applicable L7 processing uses a proxy. [capture]
Authentication and Encryption
Istio Ambient: TCP over HTTP/2 CONNECT, protected by mTLS (HBONE).
Cilium: SPIRE-backed mutual authentication and separately configured payload encryption. [enc]
Resource Footprint
Istio Ambient: Shared ztunnel resource use varies; waypoints add resources when deployed.
Cilium: Shared agents, maps and any proxies/encryption consume resources; no universal lowest-overhead ranking.
Configuration Examples: Different Security Semantics
The following are illustrative policy fragments, not complete installations. They were checked for YAML parsing and the specific corrected field paths, not applied to a Kubernetes cluster. Use a disposable test environment, validate against installed CRDs, and test allowed and denied traffic before production. Existing policies, labels, probes and dependencies must be reviewed.
1. Istio Ambient: Namespace-Wide PeerAuthentication
For an already enrolled namespace, PeerAuthentication.spec.mtls.mode: STRICT rejects connections that bypass mesh mTLS. This example is scoped to e-commerce, not the whole mesh. The L4 AuthorizationPolicy illustrates a service-account allow rule; adjust the trust domain and identity to the actual deployment. Enrollment and enforcement must be verified. [peer]
# Illustrative namespace-scoped policy; validate on a disposable test cluster.
apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata:
name: default
namespace: e-commerce
spec:
mtls:
mode: STRICT
---
apiVersion: security.istio.io/v1
kind: AuthorizationPolicy
metadata:
name: allow-frontend
namespace: e-commerce
spec:
selector:
matchLabels:
app: checkout
action: ALLOW
rules:
- from:
- source:
principals: ["cluster.local/ns/e-commerce/sa/frontend-sa"]
2. Cilium: Clusterwide Policy Resource, Narrowly Selected Workloads
The example selects checkout workloads and frontend peers only in the production namespace. It requires the documented SPIRE-backed mutual-authentication setup and permits a specified HTTP operation on port 8080. The authentication object contains mode, not a nested spiffe identity selector. This policy does not enable payload encryption; configure and verify that separately. Cilium 1.20.4 documents beta limitations. [example, api]
# Illustrative policy; requires the documented SPIRE integration.
# This does NOT enable application-payload encryption.
apiVersion: cilium.io/v2
kind: CiliumClusterwideNetworkPolicy
metadata:
name: require-auth-checkout-production
spec:
description: "Require authentication for the selected HTTP operation"
endpointSelector:
matchLabels:
"k8s:app": checkout
"k8s:io.kubernetes.pod.namespace": production
ingress:
- fromEndpoints:
- matchLabels:
"k8s:app": frontend
"k8s:io.kubernetes.pod.namespace": production
authentication:
mode: required
toPorts:
- ports:
- port: "8080"
protocol: TCP
rules:
http:
- method: "POST"
path: "/charge"
Performance & Feature Matrix
This table is a qualitative comparison, not a benchmark. Shared components do not mean zero total memory use, and the Cilium column describes its SPIRE-backed authentication plus separately configured encryption path. [perf]
| Feature / Metric | Legacy Istio (Sidecar) | Istio Ambient (Ztunnel) | Cilium Service Mesh |
|---|---|---|---|
| Data Path (Simplified) | App ⇆ Sidecar (User) ⇆ Network | App ⇆ Node Ztunnel (Rust) | eBPF datapath; L7 proxy as required |
| Memory Attribution | Per-pod proxy; workload-dependent memory | Shared node proxy; nonzero memory use | Shared agent/maps and optional proxies; nonzero memory use |
| Pod Lifecycle Coupling | Proxy colocated with application pod | Proxy deployed separately; upgrades still require planning | Shared networking components; upgrades still require planning |
| Encryption / Authentication | Envoy mTLS when configured | HBONE protected by mTLS | SPIRE-backed authentication; encryption configured separately [enc] |
| PKI Integration | Workload certificates through supported Istio CA integration | Node-local delegated workload certificates | Cilium/SPIRE identity integration [example] |
Performance: Measure the Actual Configuration
The original article's latency ranges and percentage reduction had no reproducible benchmark attached. They are removed here rather than presented as measurements. Compare identical workloads, hardware, versions, connection counts, payloads, telemetry and policy features.
1. Latency Profiles (P99)
Sidecars and shared proxies add different processing paths. Report median and tail latency under the intended load, together with throughput, errors, CPU and memory; a single universal per-hop number is not reliable. [perf]
Cilium eBPF can change the datapath, but this does not establish a universal latency advantage. Linux internals such as ip_output are implementation details, not proof that every traffic path is bypassed or that a particular sub-millisecond target is met.
Istio Ambient Ztunnel also needs measurement for the installed workload and enabled waypoints. The Istio performance guide explicitly lists workload and feature factors; this article reports no new comparative benchmark. [perf]
2. Memory Consumption Scaling
Illustrative arithmetic only: 500 sidecars at an assumed 50 MB each total 25,000 MB (25 GB in decimal units) . This is not measured usage or total cluster overhead.
With Istio Ambient Mesh, node proxies can be shared. If ten proxies were each assumed to use 50 MB, the illustrative sum would be 500 MB. Actual usage depends on identities, connections, telemetry, waypoints and other components. Do not substitute this example for capacity planning or a cost estimate. [perf]
๐ก Operational Checks Before Deployment
Conclusion: Deciding Your Architectural Path
Both approaches reduce reliance on per-application sidecars, but they do not provide identical features or security semantics. Choose based on the required threat model, policies, supported versions and operational experience, then test the actual deployment:
- Evaluate Istio Ambient Mesh if you want the Istio control plane and HBONE workload mTLS without a sidecar per pod. Check waypoint feature status before migration: the cited documentation marks VirtualService use with Ambient Alpha and does not support mixing it with Gateway API configuration. [l7]
- Evaluate Cilium if integrated CNI, eBPF policy and service-mesh capabilities fit your needs. Review the maturity and threat model of each selected authentication/encryption mode; do not choose it on an unsupported lowest-latency promise. This comparison is a starting point for a controlled evaluation, not a production certification. [auth]