Sidecar and ambient

  • Compare proxy placement and the owners of transport and HTTP policy enforcement.
100%

Istio 1.31 documentation · separate sidecar and ambient examples

Sidecar mode · separate source and destination PodsAmbient mode · node transport with optional destination L7 processingSidecar and ambient place enforcement at different ownersRequest / responsecapturemesh transportdelivercaptureno waypointwaypoint enrolledafter L7 policydeliverThe source workload has its own sidecar. Its outbound processing is distinct from the destination inbound proxy.SourceapplicationThe source Envoy owns this hop of routing, telemetry and proxy resource state. Scaling application replicas also creates more sidecar instances and their independent proxy state.SourcesidecarThe destination Envoy applies the applicable inbound transport and request policies. HTTP authorization requires an HTTP-visible enforcement point; identity authentication and operation permission remain separate decisions.DestinationsidecarThe application remains responsible for business authorization and actual execution resources after proxy acceptance.DestinationapplicationThis alternative enrolls the workload in ambient mode. It does not add a per-Pod Envoy sidecar.SourceapplicationZtunnel supplies L4 secure transport and supported L4 policy. It does not parse application HTTP headers. The direct and waypoint arrows are alternative destination paths, not two copies of the same request.Source nodeztunnelAn enrolled destination can use an independently deployed Envoy waypoint for supported L7 routing, authorization and telemetry. A waypoint must actually be on the selected path; mixed sidecar/ambient migration has additional path and version constraints.DestinationwaypointThe destination ztunnel delivers traffic to the destination workload over the ambient transport path. With no waypoint enrollment, the L4 path does not gain HTTP quotas or header-based policy.Destination nodeztunnelThe application can share a destination waypoint with other workloads inside its configured scope. Node ztunnel and waypoint capacity/failure ownership differ from a per-Pod sidecar.Destinationapplicationcapturemesh transportdelivercaptureno waypointwaypoint enrolledafter L7 policydeliver

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • In sidecar mode each workload Pod has an Envoy proxy. In ambient mode the node’s ztunnel handles transport security for enrolled workloads, and a destination can use a waypoint for HTTP processing.
  • A rule that checks an HTTP method needs a proxy that can read that method. On the ambient path shown, the waypoint can make that decision. The ztunnel can enforce connection-level policy using peer identity.
Sidecar and ambient modes

Sidecar and ambient modes

  • Sidecars keep proxy state in each workload Pod.
  • Ambient uses node-level L4 transport and optional destination waypoints for supported L7 policy.
  • Changing the mesh mode changes capacity and failure ownership; L4 transport cannot enforce HTTP quotas.
Authentication and authorization

Authentication and authorization

  • JWT verification and a policy requiring an authenticated principal have different responsibilities.
  • Workload principal, JWT principal and external certificate identity are separate inputs.
  • An ALLOW policy requires inventory of all intended business, probe and diagnostic paths.