Skip to content

Installing Istio in ambient (sidecar-less) mode on Kubernetes

Install Istio in ambient mode with ztunnel + waypoint proxies on a production Kubernetes cluster, including CNI integration, namespace enrolment, and rollout discipline.

You are bringing a service mesh into a cluster that has been running sidecar-free for years, and the operators have already pushed back on the memory overhead of injecting Envoy into every pod. Ambient mode answers that with a per-node ztunnel for L4 and on-demand waypoint proxies for L7 — but the install is materially different from the sidecar path, and the failure modes (CNI ordering, ztunnel restarts, namespace labels that silently do nothing) are not what teams familiar with istio-injection=enabled expect.

How to verify

After install, every Linux node should run a ztunnel pod:

kubectl -n istio-system get pods -l app=ztunnel -o wide

The istio-cni DaemonSet must come up before workloads on each node:

kubectl -n istio-system get ds istio-cni-node
kubectl -n istio-system logs ds/istio-cni-node --tail=50

An enrolled namespace should carry the ambient label and the workloads in it should appear in istioctl ztunnel-config:

kubectl get ns app --show-labels | grep istio.io/dataplane-mode
istioctl ztunnel-config workload --node $(kubectl get pod -n app -o jsonpath='{.items[0].spec.nodeName}')

mTLS should be observable end-to-end from the source pod:

istioctl experimental authz check -n app deploy/checkout

What’s happening

Ambient splits Istio’s data plane into two layers. The L4 layer is ztunnel, a per-node agent written in Rust that picks up packets via the CNI chain, terminates HBONE (HTTP/2 CONNECT-based tunnels), enforces mTLS with SPIFFE identities from istiod, and forwards traffic to the destination pod or to a waypoint. The L7 layer is the waypoint proxy — an Envoy deployment that you opt into per service account or per namespace when you need HTTP-aware policy (authorization on path/method, retries, rate limits, traffic splits). The big difference from sidecar mode is that pods are no longer mutated. There is no istio-proxy container, no init container, no holdApplicationUntilProxyStarts. Workloads start as fast as they did before, but the trade-off is that the mesh becomes a node-level concern — a ztunnel crash on a node interrupts mTLS for every workload on it, so node-level observability and ztunnel readiness matter more than they did with sidecars.

The procedure

  1. Match versions to your Kubernetes minor. Ambient went stable in Istio 1.22. Pin a specific Istio version (e.g. 1.24.x) and verify the support matrix for your kubelet. Mixed versions across nodes during upgrade are fine; mixed Istio control plane versions are not.

  2. Decide on the CNI ordering. Ambient uses an istio-cni plugin that must run after your primary CNI (Calico, Cilium, AWS VPC CNI, etc.). On EKS with VPC CNI you do not need to disable anything; on Cilium clusters you must run Cilium in CNI chaining mode or use Cilium’s own service mesh instead — running Cilium kube-proxy replacement alongside ambient is supported but needs cni.exclusive=false on the Cilium side.

  3. Install with istioctl using the ambient profile.

    istioctl install --set profile=ambient --skip-confirmation \
      --set values.cni.cniBinDir=/opt/cni/bin \
      --set values.cni.cniConfDir=/etc/cni/net.d \
      --set values.ztunnel.resources.requests.cpu=200m \
      --set values.ztunnel.resources.requests.memory=256Mi

    The ambient profile installs istiod, istio-cni-node, and ztunnel. It does not install ingress gateway — add that separately if you need north-south.

  4. Enrol namespaces explicitly. Ambient ignores istio-injection=enabled. Use the dataplane-mode label:

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

    Existing pods are not restarted (they don’t need to be — ambient works at the node, not the pod). New connections from that namespace flow through ztunnel from the next packet onward.

  5. Add waypoints only where L7 policy is needed. A waypoint is a Gateway CRD with gatewayClassName: istio-waypoint:

    apiVersion: gateway.networking.k8s.io/v1
    kind: Gateway
    metadata:
      name: checkout-waypoint
      namespace: app
    spec:
      gatewayClassName: istio-waypoint
      listeners:
        - name: mesh
          port: 15008
          protocol: HBONE

    Then attach it to the service account it should mediate:

    kubectl annotate sa checkout -n app istio.io/use-waypoint=checkout-waypoint
  6. Verify before you write policy. Run istioctl ztunnel-config workload -A and confirm every workload you expect is listed. Hit a service in-cluster and check kubectl logs -n istio-system ds/ztunnel for the connection ID. Only once that path is clean should you write AuthorizationPolicy resources — see istio-mtls-authorization-policies.

Operational notes

  • ztunnel is a SPOF per node. A ztunnel crash drops mesh traffic for every pod on that node until it recovers. Set a PodDisruptionBudget of zero on the ztunnel DaemonSet for upgrades, and roll nodes (not the DS) during a control plane upgrade.
  • CNI plugin install races a node reboot. The istio-cni-node DaemonSet writes its CNI conf at start; if it loses that race with new pods scheduled to the node, those pods start without mesh interception. Use priorityClassName: system-node-critical and a startup probe.
  • No automatic L7 — waypoints are opt-in. Teams used to VirtualService working everywhere will find that path-based routing simply does nothing in a namespace until a waypoint is attached. Document the boundary.
  • HBONE is HTTP/2 CONNECT on port 15008. Anything that proxies cluster traffic (NetworkPolicies, custom firewalls, security groups between nodes) must allow it. Drop it and the mesh appears down.
  • Telemetry shifts. Sidecar Prometheus scrape paths don’t exist — ztunnel exposes metrics on port 15020 and waypoints on their Envoy admin port. Update your dashboards before cutover, not after.

Stack Harbor runs ambient meshes for clients who want mTLS and identity-based policy without paying the per-pod memory cost of sidecars, including the CNI ordering, the waypoint placement decisions, and the upgrade choreography that keeps ztunnel from blackholing a node. If you want the same operating model on your cluster, see how we run managed Kubernetes operations for production fleets.