Establishing connection between hub and spoke
Generate YAML from the hub cluster to establish mutual authentication between the hub and spoke clusters.
Procedure
- Log in to the user interface of the hub cluster.
- Click Backup & Restore > Overview.
-
Use any of the following methods to generate the YAML.
Option Description Use the Fusion UI - In the step 1: Connect your clusters (optional) section, click Connect clusters.
- From the drop-down list, select Use the Fusion UI. The connect your cluster > Use the Fusion UI window appears. The snippet starts to generate.
- After the snippet is generated successfully, click Copy snippet.
Automate deployment - In the step 1: Connect your clusters (optional) section, click Connect clusters.
- From the drop-down list, select Automate deployment. The connect your cluster > Automate deployment window appears.
- Select the storage class to use on the spoke where you want to run the YAML.
- Click Generate. The YAML starts to generate.
- In the Deploy using YAML section, click copy icon in
Deployment YAML or click Download YAML. Alternatively,
in the Or deploy using oc command section, click Copy
command. Important: If you use a custom namespace, then do not use the Copy command because the encoded command is not editable and is of no value with a custom namespace.
- To validate the connection, do the following steps:
- Click Backup &
Restore > Environment. In the Environment page, you can see the hub cluster. In the Cluster table, you can see a list of spokes connected.
- In the Environment page > Custer table, check whether there is an entry for the spoke and the Connection status column is Connected for it. The Service status is Normal.
- Click Backup &
Restore > Environment.