You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ossm-federation-config-failover-overview.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@ This module included in the following assemblies:
8
8
9
9
Failover is the ability to switch automatically and seamlessly to a reliable backup system, for example another server. In the case of a federated mesh, you can configure a service in one mesh to failover to a service in another mesh.
10
10
11
-
You configure Federation for failover by setting the `importAsLocal` and `locality` settings in a `ServiceImportSet` resource and then configuring a `DestinationRule` that configures failover for the service to the locality specified in the `ServiceImportSet`.
11
+
You configure Federation for failover by setting the `importAsLocal` and `locality` settings in an `ImportedServiceSet` resource and then configuring a `DestinationRule` that configures failover for the service to the locality specified in the `ImportedServiceSet`.
12
12
13
13
.Prerequisites
14
14
15
15
* Two or more {product-title} 4.6 or above clusters already networked and federated.
16
-
* `ExportServiceSet` resources already created for each mesh peer in the federated mesh.
17
-
* `ImportServiceSet` resources already created for each mesh peer in the federated mesh.
18
-
* An account with the cluster-admin role.
16
+
* `ExportedServiceSet` resources already created for each mesh peer in the federated mesh.
17
+
* `ImportedServiceSet` resources already created for each mesh peer in the federated mesh.
Locality-weighted load balancing allows administrators to control the distribution of traffic to endpoints based on the localities of where the traffic originates and where it will terminate. These localities are specified using arbitrary labels that designate a hierarchy of localities in {region}/{zone}/{sub-zone} form.
10
10
11
11
In the examples in this section, the `green-mesh` is located in the `us-east` region, and the `red-mesh` is located in the `us-west` region.
12
12
13
-
.Example `ImportServiceSet` resource from red-mesh to green-mesh
13
+
.Example `ImportedServiceSet` resource from red-mesh to green-mesh
14
14
[source,yaml]
15
15
----
16
16
kind: ImportedServiceSet
@@ -76,14 +76,14 @@ For example, `green-mesh-system`.
76
76
$ oc project green-mesh-system
77
77
----
78
78
+
79
-
. Edit the `ImportServiceSet` file, where `<ImportServiceSet.yaml>` includes a full path to the file you want to edit, enter the following command:
79
+
. Edit the `ImportedServiceSet` file, where `<ImportedServiceSet.yaml>` includes a full path to the file you want to edit, enter the following command:
For example, if you want to modify the file that imports from the red-mesh-system to the green-mesh-system as shown in the previous `ImportServiceSet` example.
86
+
For example, if you want to modify the file that imports from the red-mesh-system to the green-mesh-system as shown in the previous `ImportedServiceSet` example.
Copy file name to clipboardExpand all lines: modules/ossm-federation-create-export.adoc
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ You can configure services for export even if they don't exist yet. When a servi
25
25
.Procedure from the Console
26
26
This is conjecture about what the flow might look like.
27
27
28
-
Follow this procedure to create an `ExportServiceSet` with the web console. This example shows the red-mesh exporting the ratings service from the bookinfo application to the green-mesh.
28
+
Follow this procedure to create an `ExportedServiceSet` with the web console. This example shows the red-mesh exporting the ratings service from the bookinfo application to the green-mesh.
29
29
30
30
. Log in to the {product-title} web console as a user with the cluster-admin role.
31
31
. Navigate to *Operators* → *Installed Operators*.
@@ -42,7 +42,7 @@ Follow this procedure to create an `ExportServiceSet` with the web console. This
42
42
43
43
.Procedure from the CLI
44
44
45
-
Follow this procedure to create an `ExportServiceSet` from the command line.
45
+
Follow this procedure to create an `ExportedServiceSet` from the command line.
46
46
47
47
. Log in to the {product-title} CLI as a user with the `cluster-admin` role. Enter the following command. Then, enter your username and password when prompted.
Copy file name to clipboardExpand all lines: modules/ossm-federation-create-import.adoc
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This module included in the following assemblies:
7
7
[id="ossm-federation-create-import_{context}"]
8
8
= Creating an ImportedServiceSet
9
9
10
-
You create an `ImportServiceSet` resource to explicitly declare the services that you want to import into your mesh.
10
+
You create an `ImportedServiceSet` resource to explicitly declare the services that you want to import into your mesh.
11
11
12
12
Services are imported with the name `<exported-name>.<exported-namespace>.svc.<ServiceMeshPeer.name>.remote` which is a "hidden" service, visible only within the egress gateway namespace and is associated with the exported service's hostname. The service will be available locally as `<export-name>.<export-namespace>.<domainSuffix>`, where `domainSuffix` is `svc.<ServiceMeshPeer.name>-imports.local` by default, unless `importAsLocal` is set to `true`, in which case `domainSuffix` is `svc.cluster.local`. If `importAsLocal` is set to `false`, the domain suffix in the import rule will be applied. You can treat the local import just like any other service in the mesh. It automatically routes through the egress gateway, where it is redirected to the exported service's remote name.
13
13
@@ -18,32 +18,32 @@ Services are imported with the name `<exported-name>.<exported-namespace>.svc.<S
18
18
19
19
[NOTE]
20
20
====
21
-
You can configure services for import even if they haven't been exported yet. When a service that matches the value specified in the ImportServiceSet is deployed and exported, it will be automatically imported.
21
+
You can configure services for import even if they haven't been exported yet. When a service that matches the value specified in the ImportedServiceSet is deployed and exported, it will be automatically imported.
22
22
====
23
23
24
24
////
25
25
.Procedure from the Console
26
26
This is conjecture about what the flow might look like.
27
27
28
-
Follow this procedure to create an `ImportServiceSet` with the web console. This example shows the green-mesh importing the ratings service that was exported by the red-mesh.
28
+
Follow this procedure to create an `ImportedServiceSet` with the web console. This example shows the green-mesh importing the ratings service that was exported by the red-mesh.
29
29
30
30
. Log in to the {product-title} web console as a user with the cluster-admin role.
31
31
. Navigate to *Operators* → *Installed Operators*.
32
32
. Click the *Project* menu and select the project where you installed the control plane for the mesh you want to import services into. For example, `green-mesh-system`.
33
-
. Click the {SMProductName} Operator, then click *Istio Service Mesh ImportServiceSet*.
34
-
. On the *Istio Service Mesh ImportServiceSet* tab, click *Create ImportServiceSet*.
35
-
. On the *Create ImportServiceSet* page, click *YAML* to modify your configuration.
33
+
. Click the {SMProductName} Operator, then click *Istio Service Mesh ImportedServiceSet*.
34
+
. On the *Istio Service Mesh ImportedServiceSet* tab, click *Create ImportedServiceSet*.
35
+
. On the *Create ImportedServiceSet* page, click *YAML* to modify your configuration.
36
36
. Modify the default configuration with values for your import.
37
37
. Click *Create*. The Operator creates the import the based on your configuration parameters.
38
-
. To verify the `ImportServiceSet` resource was created, click the *Istio Service Mesh ImportServiceSet* tab.
39
-
.. Click the name of the new `ImportServiceSet`; for example, `import-from-red-mesh`.
40
-
.. Click the *Resources* tab to see the `ImportServiceSet` resource the Operator created and configured.
38
+
. To verify the `ImportedServiceSet` resource was created, click the *Istio Service Mesh ImportedServiceSet* tab.
39
+
.. Click the name of the new `ImportedServiceSet`; for example, `import-from-red-mesh`.
40
+
.. Click the *Resources* tab to see the `ImportedServiceSet` resource the Operator created and configured.
41
41
////
42
42
43
43
44
44
.Procedure from the CLI
45
45
46
-
Follow this procedure to create an `ImportServiceSet` from the command line.
46
+
Follow this procedure to create an `ImportedServiceSet` from the command line.
47
47
48
48
. Log in to the {product-title} CLI as a user with the `cluster-admin` role. Enter the following command. Then, enter your username and password when prompted.
0 commit comments