-
Notifications
You must be signed in to change notification settings - Fork 573
ForeignServices cardinality issues #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for following up on this.. Parroting back what I told @frankbu The idea is that you have only one such thing that requires admin access to add. Per @nmnellis (Weather.com), this seems like a nice thing. The more technical problem is that we no longer do anything with namespaces in the rules. Even in routing rules, we infer the namespace for short names based on the calling pod's namespace, instead of the rule's namespace. The rationale behind this was that most people tend to put all Istio artifacts in the istio-system namespace, for easier management. From a cross platform support perspective, this alienation of namespaces works well, because namespace is just a folder where you put your rules. It is not an isolation/protection/enforcement domain. So, if you look at foreign services from this perspective, its simpler to do any RBAC if need be, based on the fact that there is only one foreign services resource to track. Having per namespace means that the underlying system assigns the endpoints to unique namespaces - a property that only kubernetes has. Any bespoke system using internal service registry on a bunch of containers/vms/baremetals or using Consul or using CloudFoundry will not have this abstraction. The same argument can be applied to RouteRules and DestinationRules as well. It remains to be sorted out. cc @ZackButcher / @ijsnellf / @GregHanson as well, since you would probably have encountered this. |
A couple of thoughts.
|
Is this still relevant? Can we close the issue? |
* Handle RequestStatus error * Add test for RequestStatus error
ServiceEntry fixes these problems. |
@frankbu @wora @rshriram
Currently ForegnServices has the following properties
The alternatives would be to (a) allow there to be many and (b) allow one per domain
The text was updated successfully, but these errors were encountered: