# How can you enable automatic sidecar injection for a namespace in Istio?

Istio, Easy (Beginner), Installation. https://k8wiz.com/uquiz/how-can-you-enable-automatic-sidecar-injection-for-a-namespace-in-istio

- A. By adding the 'istio-injection=enabled' label to the namespace
- B. By adding the sidecar container to each deployment manually
- C. By using the 'istioctl inject' command for each deployment
- D. By modifying the Istio control plane configuration

**Answer:** By adding the 'istio-injection=enabled' label to the namespace

**Explanation:** To enable automatic sidecar injection for a namespace in Istio, you need to add the 'istio-injection=enabled' label to the namespace. This tells Istio's admission controller to automatically inject the Envoy sidecar into all pods created in that namespace.
