Enabling and Disabling Kubernetes Istio Sidecar Injections

John Jung
John Jung
Sep 27 · 1 min read

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/

johnjjung

John Jung — CTO of June.ai

John Jung

Written by

John Jung

Co-founder & CTO @ June.ai

johnjjung

johnjjung

John Jung — CTO of June.ai

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade