exportTo field with values other than "." and "*"


#1

I want to use exportTo field, which comes in istio 1.1 (https://preliminary.istio.io/docs/reference/config/networking/v1alpha3/destination-rule/) to define DestinationRules.

Currently, it provides “.” - current namespace and “*” - all namespace options.

My questions are:

  1. What is preventing us to use values other than the above?
  2. Is anyone already working on this change, if so what is the expected timeline?

Thanks,
Anubhav


#2

As mentioned here this will not be available in 1.1.0, but hopefully will be ready a future 1.1.x release. I’m not sure if anyone has started on the implementation yet.


#3

Thanks a lot David.

Are you aware of any work for restricting Destinationrule definition for a service to be defined only in the namespace the service exists (and not where it is being consumed)

Combining the above with exportTo feature will give service owners complete control over DestinationRules for their services across the mesh.


#4

I’m not aware for DestinationRules but you can use the Sidecar resource in 1.1.0 to control what ingress and egress services are available for each sidecar proxy. Pre-release docs: https://preliminary.istio.io/docs/reference/config/networking/v1alpha3/sidecar/


#5

Great, thanks David.