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.
More hard Istio questions
- What is the purpose of Istio's WorkloadEntry resource?
- What is the purpose of Istio's WorkloadGroup resource?
- What is the purpose of Istio's 'consistentHash' load balancing in DestinationRule?
- How can you implement rate limiting in Istio?
- What is the purpose of Istio's 'locality' field in DestinationRule?
- What is the purpose of Istio's 'mirror' field in VirtualService?