3B pods talk to each other over plain HTTP and TCP inside the cluster, for example the API to Blobstore or a worker to the orchestrator. If your policies require that traffic to be encrypted, run Istio in ambient mode and enroll the 3B namespace. Ambient mode encrypts pod-to-pod traffic with mutual TLS from a per-node proxy, so nothing runs inside 3B’s pods and no 3B setting changes.
Sidecar meshes, such as Linkerd or Istio’s sidecar mode, aren’t supported. 3B pods that run under gVisor or user namespaces can’t host the traffic redirection a sidecar needs.
Before you start
Ambient mode adds two kinds of traffic that NetworkPolicies must allow, the mesh port 15008 between pods and kubelet health probes, which arrive from the address 169.254.7.127. The chart’s only NetworkPolicy guards git-service, so this matters only when networkPolicies.enabled is true, the default. In that case, check that your release already allows both before you enroll:
kubectl -n 3b get networkpolicy git-service -o yaml | grep -E '15008|169.254.7.127'
If that prints nothing, upgrade 3B first. If you add your own NetworkPolicies in the 3B namespace, give them the same two allowances. Allow TCP port 15008 wherever one 3B pod may already reach another, and allow ingress from 169.254.7.127/32 to any pod with a health probe.
Install Istio ambient
Follow Istio’s ambient installation guide for your platform. If you need FIPS validated cryptography, use FIPS builds of the three components, such as Chainguard’s istio-pilot-fips, istio-install-cni-fips, and ztunnel-fips, and set env.COMPLIANCE_POLICY=fips-140-3 on the istiod chart so it only negotiates FIPS-approved TLS.
Enroll the 3B namespace
Label the namespace, then restart 3B’s Deployments:
kubectl label namespace 3b istio.io/dataplane-mode=ambient kubectl -n 3b rollout restart deployment
The label applies to running pods within seconds, but only new connections go through the mesh. The Deployments open every long-lived connection, such as database pools and streams between services, so restarting them reopens all of them on the mesh. The bundled Postgres only accepts connections and doesn’t need a restart. If you run the bundled Garage, also restart statefulset/blobstore, which connects to it. Traffic to a pod that isn’t enrolled yet falls back to plaintext, so the label can go on while 3B is serving.
To check that traffic is encrypted, look at the ztunnel logs. Each connection between 3B pods lists its source and destination identities in the form spiffe://cluster.local/ns/3b/sa/<service account>. Unless your values set a service account per component, every 3B pod uses the namespace’s default service account.
Turning it off
Remove the label, and pods go back to direct traffic within seconds:
kubectl label namespace 3b istio.io/dataplane-mode-
