k8wiz
Istio
Hard
Advanced Configuration

A namespace's default Sidecar has egress hosts "./*" and "istio-system/*", and the mesh uses ALLOW_ANY. What happens to calls from that namespace to an external host with a ServiceEntry in another namespace?

Select your answer:

Show answer and explanation

Answer: They succeed as passthrough traffic, because scoping does not block traffic

Explanation

The Sidecar resource only trims the configuration a proxy receives. A host outside its egress hosts is treated as unmatched traffic, and under ALLOW_ANY unmatched traffic goes to PassthroughCluster, so the call works but without the ServiceEntry's settings. To block it, set the outbound traffic policy to REGISTRY_ONLY in the mesh or on the Sidecar.

Read more about Istio