Skip to content

Commit 15a4fb4

Browse files
authored
Merge pull request #71852 from rh-tokeefe/OSSM-5917
OSSM-5917: Add text indicating that imported service requires alias
2 parents 4894840 + 9a04995 commit 15a4fb4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

modules/ossm-federation-config-import.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
importRules:
7878
- type: NameSelector
7979
importAsLocal:
80-
|Set to `true` to aggregate remote endpoint with local services. When `true`, services will be imported as `<name>.<namespace>.svc.cluster.local`
80+
|Set to `true` to aggregate remote endpoint with local services. When `true` services are imported as `<name>.<namespace>.svc.cluster.local`. When `true`, an alias is required. When `false`, no alias is required.
8181
|`true`/`false`
8282

8383
|spec:

modules/ossm-federation-create-export.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ You create an `ExportedServiceSet` resource to explicitly declare the services t
1111

1212
Services are exported as `<export-name>.<export-namespace>.svc.<ServiceMeshPeer.name>-exports.local` and will automatically route to the target service. This is the name by which the exported service is known in the exporting mesh. When the ingress gateway receives a request destined for this name, it will be routed to the actual service being exported. For example, if a service named `ratings.red-mesh-bookinfo` is exported to `green-mesh` as `ratings.bookinfo`, the service will be exported under the name `ratings.bookinfo.svc.green-mesh-exports.local`, and traffic received by the ingress gateway for that hostname will be routed to the `ratings.red-mesh-bookinfo` service.
1313

14+
[NOTE]
15+
====
16+
When you set the `importAsLocal` parameter to `true` to aggregate the remote endpoint with local services, you must use an alias for the service. When you set the parameter `false`, no alias is required.
17+
====
18+
1419
.Prerequisites
1520

1621
* The cluster and `ServiceMeshControlPlane` have been configured for mesh federation.

0 commit comments

Comments
 (0)