tezvyn:

Canary release with Istio traffic splitting

Source: interviewintermediate

WHAT IT TESTS: Istio traffic management. OUTLINE: DestinationRule defines subsets by label, VirtualService routes weighted 90/10 to those subsets, then shift weights as the canary proves healthy.

WHAT IT TESTS: hands-on knowledge of Istio's routing primitives. ANSWER OUTLINE: define a DestinationRule with subsets stable and canary keyed to pod version labels; define a VirtualService with two route destinations to those subsets weighted 90 and 10. Both deployments back one Service. Progressively raise the canary weight while watching metrics, then cut over and retire stable. RED FLAG: scaling replica counts to fake the split, which couples traffic ratio to pod count, or forgetting the DestinationRule so subsets are undefined.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Canary release with Istio traffic splitting · Tezvyn