Istio 101 : "Envoy" sidecar injection into a kubernetes deployment
Injection of sidecar in a kubernetes application, means that istio is going to modify the deployment's Yaml file of our pods to include a side car proxy - envoy by default -.
For example we take the simple below deployment for nginx pod:
After running the "kubectl apply" command on our deployment, we check also our pod using the below command:
Then we re-check our deployment to see if istio added the side car proxy:
The automatic injection of a side car occurs when the namespace has the "injection" enabled.
We enable it in a namespace using the below command: