Skip to main content
SERVICE-MESH5 MIN READ

Build a 10 Percent Canary Route

Create a small weighted canary route with subset validation and rollback criteria.

Move checkout-api from v1 to v2 for 10 percent of traffic without losing the ability to recover in one commit. Traffic shifting loop: prove subsets, shift weight, watch the gate, keep rollback ready. The common shortcut is to change weights first and discover later that the subset selector, metrics, or rollback line was not ready. Before VirtualService sends 100 percent to checkout-api v1. DestinationRule has no verified v2 subset, and the rollback is tribal knowledge. After DestinationRule has v1 and v2 subsets matching pod labels. VirtualService sends 90 percent to v1 and 10 percent to v2. The rollback patch returns…

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us