Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 842 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 842 Bytes

Canary demo

Version B is released to a subset of users, then proceed to a full rollout.

kubernetes canary deployment

A canary deployment consists of gradually shifting production traffic from version A to version B. Usually the traffic is split based on weight. For example, 90 percent of the requests go to version A, 10 percent go to version B.

This technique is mostly used when the tests are lacking or not reliable or if there is little confidence about the stability of the new release on the platform.

You can apply the following canary deployment techniques:

  • Native way by adjusting the number of replicas.

  • Istio way by adjusting the weight in VirtualService.

  • Nginx-ingress way by defining fine grained traffic splitting via Ingress annotations.