Overview
A typical engagement starts with a platform team that runs Istio in sidecar mode across many namespaces and wants to know whether ambient mode is worth the move. Ambient mode has been generally available since Istio 1.24, but the team has not worked out which of its policies and routes depend on the sidecar.
Challenge
Namespaces that only need mTLS and layer 4 authorization are easy to move. Layer 7 policies, routes and JWT validation need a waypoint, EnvoyFilter is not supported on waypoints, and some deployments hit hard blockers. Istio's migration guide says that with layer 7 policies a zero-downtime move is not currently possible, so the order and the maintenance windows matter.
Environment
Kubernetes clusters running a supported Istio minor in sidecar mode, with gateways, AuthorizationPolicy and PeerAuthentication resources, a mix of VirtualService and Gateway API routes, and a few EnvoyFilter customizations written by engineers who have since moved on.
Approach
AceMQ engineers inventory the policies, routes, gateways and customizations in each namespace and compare them with the ambient feature stages and the blockers Istio documents. Each namespace gets a verdict: move now to ztunnel only, move with a waypoint, or wait, with the reason. The first move is planned as a rehearsal with a tested way back.
Solution
- Per-namespace inventory of AuthorizationPolicy, PeerAuthentication, VirtualService, HTTPRoute, DestinationRule and EnvoyFilter resources
- Check for hard blockers: VM workloads, SPIRE as certificate provider, PeerAuthentication in DISABLE mode and primary-remote multicluster
- List of policies that must be retargeted to a waypoint, and routes that must move from VirtualService to HTTPRoute for each workload
- Review of feature stages for anything the namespace uses that is still alpha or beta in ambient mode
- Namespace order, maintenance windows for namespaces with layer 7 policy, and the sidecar callers that bypass waypoints until they move
- Rehearsal plan for the first namespace, with rollback
Outcome
The engagement delivers a written assessment with a verdict for every namespace, the list of policies and routes that change, the blockers found, the order of moves with the windows they need, and a rehearsal plan for the first namespace. The customer decides from the facts whether to move.