![image](https://gist.github.com/assets/330383/0039a3e4-41ed-4a24-8b97-fc6d44e7b946)


![image](https://gist.github.com/assets/330383/68d5b0ae-38a4-47da-9bb8-e938011efa79)


![image](https://gist.github.com/assets/330383/52fc82d4-8af4-4bee-b04f-27ecf8381f63)


![image](https://gist.github.com/assets/330383/cdc4a353-b7fd-432e-82c7-bcc03737ddea)


![image](https://gist.github.com/assets/330383/09e9c69b-8747-448f-a96a-e3e7b0333db7)

![image](https://gist.github.com/assets/330383/ea12390d-ef73-49be-97eb-5bce88be3c90)

## Istio

![image](https://gist.github.com/assets/330383/0bb1cf53-12f5-4941-a8ba-d05793592af7)


**Gateway** will accept traffic into service mesh , that has pointer to **virtual service** has property called **selector**
allows you to select v1 and v2 of app helps for canary deployments. V1 and v2 are the pods. In each pod **side car container** is inserted inside the pod.
This side car container has **envoyproxy** that is helping istio to manage the traffic. 

![image](https://gist.github.com/assets/330383/6cd717d0-bb1a-48b9-abdc-bbc0d6556d32)