Service Mesh in depth
Adopting a mesh in stages
Rolling out a mesh to every service at once is risky. A staged approach:
- Define the goal. Is it mTLS for compliance, traffic control for canary releases, or uniform telemetry? The goal decides which features to enable.
- Pick the data plane model that fits resource and operational limits: sidecar, ambient or eBPF-based.
- Install in a non-production cluster and enroll a few services by namespace.
- Enable mTLS in permissive mode, so plaintext and encrypted traffic both work while services are enrolled.
- Confirm all callers are in the mesh, then switch to strict mTLS.
- Add authorization policies that allow only the service-to-service calls each workload needs.
- Introduce traffic features such as retries, timeouts and weighted routing only where a team needs them.
Plan upgrades from the first day. A mesh sits in the path of every request, so its control plane and proxies need the same tested, staged upgrade process as the cluster itself, ideally with canary control planes where the mesh supports them.
Example: canary releases with traffic splitting
Example: a payments team wants to release a new version of its fraud-scoring service gradually. With the mesh in place, the team deploys version two alongside version one and defines a route that sends a small share of requests to the new version, using an HTTPRoute with weighted backends or the mesh's own routing resource. Mesh telemetry shows success rate and latency for each version side by side. An automated rollout tool such as Argo Rollouts or Flagger increases the share step by step while metrics stay healthy, and rolls back automatically if error rates rise. No change to the application code was needed for routing or metrics.
Comparing the main options
| Mesh | Data plane | Notes |
|---|
| Istio (sidecar) | Envoy per pod | Broadest feature set, most configuration surface |
| Istio (ambient) | Per-node ztunnel, optional waypoint proxies | Lower per-pod overhead; layer 7 only where waypoints are deployed |
| Linkerd | Rust micro-proxy per pod | Focus on simplicity and low overhead |
| Cilium | eBPF plus per-node Envoy | Combines CNI, network policy and mesh features |
The Gateway API project's GAMMA initiative defines how Gateway API resources describe mesh traffic, which reduces lock-in to one mesh's custom resources.
Measuring a mesh
- Share of service traffic encrypted with mTLS, and share covered by authorization policies.
- Added latency per hop at high percentiles, compared with a baseline.
- CPU and memory used by proxies across the cluster.
- Incidents caused by mesh configuration or upgrades.
- Time to diagnose service-to-service issues, using mesh metrics and traces.
Typical problems are enabling strict mTLS before every caller is enrolled, no resource requests for sidecars, mesh upgrades left untested until a security patch forces a rush, retries layered in both application and mesh causing retry storms, and adopting a mesh only for telemetry that OpenTelemetry could provide. Meshes use eBPF in some designs and feed observability tools. Gepton designs and operates meshes in Kubernetes and DevSecOps engagements.