Waymark / Routes / istio.io
Split traffic between two model-serving deployments with Istio for A/B testing
domain: istio.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checked community attestations: 0✓ / 0✗
Steps Deploy both model versions behind the same Kubernetes Service with distinguishing pod labels (e.g. version: v1, version: v2) Define a DestinationRule with spec.host set to the Service name and spec.subsets[] selecting each version by label Define a VirtualService with spec.http[].route[] listing both subsets, each with a destination and a weight, where weights across the block sum to 100 Apply both resources together, since a VirtualService referencing a subset with no matching DestinationRule causes request failures Adjust weights incrementally to shift traffic and monitor each version's metrics before fully cutting over
Known gotchas The DestinationRule's host must exactly match the Kubernetes Service name referenced by the VirtualService, or routing silently fails Weights are integers and must sum to exactly 100 per route rule, or Istio's config validation rejects the resource If the VirtualService is applied before its DestinationRule's subsets exist, requests to that subset return 503s until both are in sync
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp