Skip to content

Commit bb4acf8

Browse files
authored
Merge pull request #87208 from xenolinux/minor-nits
HCP minor nits
2 parents 821f0fe + cde34a9 commit bb4acf8

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

modules/hcp-import-manual-aws.adoc

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,37 +24,37 @@ metadata:
2424
labels:
2525
cloud: auto-detect
2626
cluster.open-cluster-management.io/clusterset: default
27-
name: <cluster_name>
27+
name: <hosted_cluster_name> <1>
2828
vendor: OpenShift
29-
name: <cluster_name>
29+
name: <hosted_cluster_name>
3030
spec:
3131
hubAcceptsClient: true
3232
leaseDurationSeconds: 60
3333
----
3434
+
35-
Replace `<cluster_name>` with the name of your hosted cluster.
35+
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
3636

3737
. Run the following command to apply the resource:
3838
+
3939
[source,terminal]
4040
----
41-
$ oc apply -f <file_name>
41+
$ oc apply -f <file_name> <1>
4242
----
4343
+
44-
Replace `<file_name>` with the YAML file name you created in the previous step.
44+
<1> Replace `<file_name>` with the YAML file name you created in the previous step.
4545

46-
. If you have Red{nbsp}Hat Advanced Cluster Management installed, create your `KlusterletAddonConfig` resource by using the following sample YAML file. If you have installed {mce-short} only, skip this step:
46+
. If you have {rh-rhacm-title} installed, create your `KlusterletAddonConfig` resource by using the following sample YAML file. If you have installed {mce-short} only, skip this step:
4747
+
4848
[source,yaml]
4949
----
5050
apiVersion: agent.open-cluster-management.io/v1
5151
kind: KlusterletAddonConfig
5252
metadata:
53-
name: <cluster_name>
54-
namespace: <cluster_name>
53+
name: <hosted_cluster_name> <1>
54+
namespace: <hosted_cluster_namespace> <2>
5555
spec:
56-
clusterName: <cluster_name>
57-
clusterNamespace: <cluster_name>
56+
clusterName: <hosted_cluster_name>
57+
clusterNamespace: <hosted_cluster_namespace>
5858
clusterLabels:
5959
cloud: auto-detect
6060
vendor: auto-detect
@@ -70,20 +70,21 @@ spec:
7070
enabled: false
7171
----
7272
+
73-
Replace `<cluster_name>` with the name of your hosted cluster.
73+
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
74+
<2> Replace `<hosted_cluster_namespace>` with the name of your hosted cluster namespace.
7475

7576
. Run the following command to apply the resource:
7677
+
7778
[source,terminal]
7879
----
79-
$ oc apply -f <file_name>
80+
$ oc apply -f <file_name> <1>
8081
----
8182
+
82-
Replace `<file_name>` with the YAML file name you created in the previous step.
83+
<1> Replace `<file_name>` with the YAML file name you created in the previous step.
8384

8485
. After the import process is complete, your hosted cluster becomes visible in the console. You can also check the status of your hosted cluster by running the following command:
8586
+
8687
[source,terminal]
8788
----
88-
$ oc get managedcluster <cluster_name>
89+
$ oc get managedcluster <hosted_cluster_name>
8990
----

0 commit comments

Comments
 (0)