Istio 101 : 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:
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:
Comments