Enabling and Disabling Kubernetes Istio Sidecar Injections
We’ve been experimenting with Istio’s Sidecar Injects but it’s been messing with some of the logging on Google Cloud Platform’s Stackdriver logging. So just the cliff notes.
This will enable automatic istio-sidecar injections
kubectl label namespace default istio-injection=enabled
You can check with
kubectl get namespace -L istio-injection
This will disable automatic istio-sidecar injections
kubectl label namespace default istio-injection-
https://istio.io/docs/setup/additional-setup/sidecar-injection/