CKAD · 25 November 2026 · 8 min read

Service mesh sidecars vs Istio ambient mode

Istio's sidecar mode puts an Envoy proxy in every Pod; ambient mode moves it to a ztunnel per node and optional waypoints. North-south vs east-west, mTLS between proxies, native sidecars since Istio 1.27, the trade-offs and the YAML.

A service mesh takes traffic management, security and observability out of your apps and puts them in proxies. In Istio's sidecar mode, every Pod gets its own Envoy proxy injected beside the app. In ambient mode, generally available since Istio 1.24 (7 Nov 2024), there is no proxy in the Pod: a ztunnel on each node handles mTLS and layer 4, and an optional waypoint proxy handles layer 7 only where you ask for it. Sidecar mode gives every workload its own proxy and its own keys; ambient mode uses fewer resources and lets Pods join the mesh without a restart.

TL;DR

  • Without a mesh, calls between services (east-west) are plain text and nothing proves who is calling. Gateways handle traffic in and out of the cluster (north-south).
  • A mesh puts a proxy on every call. A control plane (istiod in Istio) configures the proxies and issues their certificates, so they can use mutual TLS.
  • Sidecar mode: an Envoy proxy in every Pod, injected by a webhook; Pods must restart to get one. Native sidecars are the default since Istio 1.27, when every node's kubelet is 1.33 or later.
  • Ambient mode: ztunnel per node (L4: mTLS, identity, L4 policy), waypoints for L7. Label the namespace; no restarts.
  • "Sidecarless" does not retire the sidecar pattern: the proxy moves from the Pod to the node and to a shared Deployment.
  • Exam: Istio is not in the CKAD or CKA curriculum; native sidecars and multi-container Pods are (CKAD Application Design and Build, 20%).

This is part 6 of the Kubernetes Pod Patterns series, and the biggest real-world user of the sidecar pattern.

Before a mesh: north-south and east-west

Picture a shop: users come in through an ingress gateway to a frontend, which calls a backend, which calls a database; the backend also calls an outside API through an egress gateway.

  • North-south traffic crosses the edge of the cluster: in through the ingress gateway, out through the egress gateway. Istio's gateways are standalone Envoy proxies at the edge of the mesh, not sidecars.
  • East-west traffic runs between services inside the cluster: frontend to backend, backend to database. Without a mesh it is plain text, and the backend has no way to know that a call really came from the frontend.

Here is the shop before and after a mesh:

Before and after a service mesh. Left, before: users enter through an ingress gateway (labeled north-south) to frontend, which calls backend, which calls database, with red arrows marked plain; a pill says east-west, no identity; the backend calls an external API through an egress gateway. Right, after, in sidecar mode: the same services, each now a dotted Pod holding the service and a blue proxy. Green arrows between the proxies are marked mTLS. A blue control plane box, istiod, config and certificates, has a line to every Pod. A green pill reads identity on every call.

The service mesh pattern

Theme: the network concerns every service shares

Every service needs to find the others, spread load, retry and time out sensibly, encrypt its calls and report what happened.

Problem: doing it in every app

Build all of that into each app and you need a library per language, kept in step across teams, and a redeploy of every service to change a timeout or rotate a certificate.

Solution: a proxy on every call, and a control plane

A mesh sends each call through a proxy and gives the proxies one control plane. Istio is "logically split into a data plane and a control plane": istiod provides service discovery, configuration and certificate management, and turns high-level routing rules into Envoy configuration that it pushes to the proxies while they run. What the proxies then give every service, without code changes:

  • Discovery and load balancing.
  • Resiliency: retries, timeouts, circuit breaking and rate limits.
  • Security: mutual TLS and authorization policies.
  • Layer 7 observability: metrics for every request.
  • Routing: traffic shifting and mirroring, as in blue/green deployments with Istio.
  • An API through CRDs: you configure all of it with Kubernetes resources.

The security part works like this. Istio gives every workload an identity in an X.509 certificate; the CA in istiod signs it, and the Istio agent hands the certificate and key to Envoy, repeating the process to rotate them. When one service calls another, "the client side Envoy starts a mutual TLS handshake with the server side Envoy". By default Istio is PERMISSIVE and accepts both mTLS and plain text; STRICT accepts mTLS only.

In Kubernetes: sidecar mode

"Istio has been built on the sidecar pattern from its first release in 2017." A mutating admission webhook injects an Envoy proxy into each new Pod in a namespace labeled for injection. Injection happens when a Pod is created, so existing Pods must be restarted to get a proxy. If you read part 4, the sidecar will look familiar: it sits on every outbound call like an ambassador, except that a control plane chooses and configures it. That is our comparison; Istio does not call its proxy an ambassador.

The sidecar's old problems, and native sidecars

In 2023 Istio listed what went wrong when the proxy was an ordinary container: the app could start before the proxy (the most up-voted Istio issue), the proxy could stop before the app, Jobs never finished because the proxy never exited, and init containers could not use the network. These were among the reasons Kubernetes added native sidecars, on by default since 1.29 and stable since 1.33.

Istio 1.27 (11 Aug 2025) turned native sidecars on by default: "native sidecars will be injected into all eligible pods unless explicitly disabled". "Eligible" has a catch. Istio's code enables them only when the kubelet is 1.33 or later on the Pod's node or, if the Pod is not scheduled yet, on every node in the cluster. One older node switches native sidecars off. To choose per Pod, set the annotation sidecar.istio.io/nativeSidecar (alpha), which takes precedence over the global setting.

Native sidecars fixed the ordering, but not the cost. Istio's own docs describe sidecar mode as "well understood and thoroughly battle-tested, but comes with a resource cost and operational overhead": a proxy per Pod, provisioned for the worst case, and a restart of every Pod for every Istio upgrade.

Ambient mode: the proxy leaves the Pod

Istio announced ambient mode in September 2022, called it production-ready for a single cluster in 1.22, and declared ztunnel, waypoints and their APIs stable in Istio 1.24 on 7 Nov 2024. It splits the proxy's work in two:

  • ztunnel: "a purpose-built, per-node proxy", written in Rust, for layer 3 and 4 only: mTLS, authentication, L4 authorization and telemetry. It does not terminate HTTP. Traffic between ztunnels travels in HBONE, an HTTP CONNECT-based tunnel.
  • Waypoint: a Deployment of Envoy running outside your Pods and scaling on its own, needed only for layer 7: L7 authorization, routing and telemetry. By default a waypoint handles traffic to the services in its namespace.
Sidecar mode vs ambient mode. Left, sidecar mode: a node holds two dotted Pods, each with an App and a blue Envoy sidecar proxy for L4 and L7. Right, ambient mode: a node holds two Pods with an App only; arrows go down from both to one blue ztunnel, one per node, L4: mTLS, identity, L4 policy. An orange arrow labeled HBONE tunnel goes from the ztunnel to an amber Waypoint box outside the node: optional Envoy for L7.

To join, you label the namespace istio.io/dataplane-mode=ambient. Traffic is redirected to the node's ztunnel and the Pods keep running, with no restart. The GA announcement gave three reasons for the change: the resources sidecars use, sidecars breaking applications, and restarting Pods for every Istio upgrade. It reported savings that "can exceed 90%" in some cases.

Sidecar vs ambient, side by side


Sidecar mode

Ambient mode

Where the proxy runs

An Envoy in every Pod

ztunnel on every node; waypoints where L7 is needed

Joining the mesh

Label, then restart the Pods

Label the namespace; no restart

Latency, p90/p99 (Istio's table)

0.63 to 0.88 ms

0.16 to 0.20 ms; 0.40 to 0.50 ms with a waypoint

Resources

"Wasteful": provisioned per Pod for the worst case

Shared per node and per waypoint

Keys

"Strongest": each workload has its own

"Strong": each ztunnel holds only the keys for its node's workloads

Limits

Supports VMs and EnvoyFilter

No EnvoyFilter, no VMs; stable for a single cluster, multi-network multicluster beta since 1.29

Two notes on Istio's table. It still says Jobs are "complicated by long life of sidecar", which native sidecars have largely fixed. And the two modes are not exclusive: sidecar and ambient Pods can live in one mesh.

What "sidecarless" means for the sidecar pattern

Ambient is "often informally referred to as 'sidecar-less mesh'", but the pattern has not gone away. The proxy has moved: from the Pod to the node (ztunnel) and to a shared Deployment (the waypoint). What changed is who pays for it and when it restarts. Plenty of single-purpose sidecars stay in the Pod, too: log shippers, git-sync, and ambassadors such as the Cloud SQL Auth Proxy, whose docs even say where to put it when Istio is present.

The YAML

Sidecar mode for a namespace, then restart its Deployments so new Pods get the proxy:

Shell
kubectl label namespace shop istio-injection=enabledkubectl rollout restart deployment -n shop

Ambient mode instead, with no restart:

Shell
kubectl label namespace shop istio.io/dataplane-mode=ambient

Either way, refuse plain-text calls into the namespace; ztunnel enforces this in ambient mode too:

YAML
apiVersion: security.istio.io/v1kind: PeerAuthenticationmetadata:  name: default  namespace: shopspec:  mtls:    mode: STRICT
mTLS between every service with Istio ambient mode. A command at the top: kubectl label namespace shop istio.io/dataplane-mode=ambient. Below, Node 1 holds a dotted Pod with the frontend, unchanged, sending to the node's ztunnel; Node 2 holds a ztunnel sending to a Pod with the backend, unchanged. A thick green two-way arrow between the ztunnels is labeled mTLS in HBONE and workload certificates. A red bar reads PeerAuthentication STRICT: plain-text calls into the mesh are refused. Three green pills: no app code changes, no Pod restarts to join, L7 proxy only where needed.

Need layer 7 (HTTP routing or L7 policy) for one namespace in ambient mode? Add a waypoint, a Gateway API resource that istioctl waypoint apply creates for you, and point the namespace at it:

YAML
apiVersion: gateway.networking.k8s.io/v1kind: Gatewaymetadata:  name: waypoint  namespace: shop  labels:    istio.io/waypoint-for: servicespec:  gatewayClassName: istio-waypoint  listeners:  - name: mesh    port: 15008    protocol: HBONE
Shell
kubectl label namespace shop istio.io/use-waypoint=waypoint

When not to use a mesh, or which mode

  • Few services, one language. The Kubernetes blog's rule for any helper container applies: it adds complexity, resources and latency, so use it when the case justifies it.
  • Choose sidecar mode when you need VMs in the mesh, EnvoyFilter, or the strongest isolation of keys, one set per workload.
  • Choose ambient mode when cost, latency and restart-free upgrades matter most, and add waypoints only where you need L7.
  • Check your nodes before relying on native sidecars in sidecar mode: one kubelet older than 1.33 turns them off.

For the exam

Neither the CKAD nor the CKA curriculum (v1.37) names Istio or any service mesh. What the mesh relies on is tested: the CKAD's "multi-container Pod design patterns (e.g. sidecar, init and others)" under Application Design and Build (20%), where native sidecars belong, and on the CKA, Pods stuck in Init fall under Troubleshooting (30%). Know how an injected sidecar shows up: READY 2/2, an extra container in kubectl describe pod, and -c on kubectl logs.

Common questions

Is Istio ambient mode production-ready?

Yes, for a single cluster: ztunnel, waypoints and their APIs have been stable since Istio 1.24. Multi-network multicluster ambient is beta since Istio 1.29. The newest release, Istio 1.32 (9 Nov 2026), supports Kubernetes 1.33 to 1.37.

Does ambient mode replace sidecars completely?

No. Sidecar mode is still supported, the two can run in one mesh, and some features (VMs, EnvoyFilter) need sidecars.

Why did my Pods not get native sidecars?

Usually because one node's kubelet is older than 1.33, which switches Istio's automatic setting off for Pods not yet scheduled. Upgrade the node, or set sidecar.istio.io/nativeSidecar on the Pod.

Keep going

The rest of the series: multi-container Pod patterns (the overview), init containers, sidecar containers, the ambassador pattern and the adapter pattern. For Istio routing in practice, read blue/green deployments with Istio.

The Gazeek CKAD course gives you a real cluster for every lab; start with the Pods and multi-container patterns module to see a sidecar start before the app and outlive it. For more exam-style tasks, try the CKAD practice questions with answers.

More from the blog