diff --git a/modules/hcp-import-manual-aws.adoc b/modules/hcp-import-manual-aws.adoc index 54636dc3c66c..a23474fe7670 100644 --- a/modules/hcp-import-manual-aws.adoc +++ b/modules/hcp-import-manual-aws.adoc @@ -24,37 +24,37 @@ metadata: labels: cloud: auto-detect cluster.open-cluster-management.io/clusterset: default - name: + name: <1> vendor: OpenShift - name: + name: spec: hubAcceptsClient: true leaseDurationSeconds: 60 ---- + -Replace `` with the name of your hosted cluster. +<1> Replace `` with the name of your hosted cluster. . Run the following command to apply the resource: + [source,terminal] ---- -$ oc apply -f +$ oc apply -f <1> ---- + -Replace `` with the YAML file name you created in the previous step. +<1> Replace `` with the YAML file name you created in the previous step. -. 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: +. 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: + [source,yaml] ---- apiVersion: agent.open-cluster-management.io/v1 kind: KlusterletAddonConfig metadata: - name: - namespace: + name: <1> + namespace: <2> spec: - clusterName: - clusterNamespace: + clusterName: + clusterNamespace: clusterLabels: cloud: auto-detect vendor: auto-detect @@ -70,20 +70,21 @@ spec: enabled: false ---- + -Replace `` with the name of your hosted cluster. +<1> Replace `` with the name of your hosted cluster. +<2> Replace `` with the name of your hosted cluster namespace. . Run the following command to apply the resource: + [source,terminal] ---- -$ oc apply -f +$ oc apply -f <1> ---- + -Replace `` with the YAML file name you created in the previous step. +<1> Replace `` with the YAML file name you created in the previous step. . 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: + [source,terminal] ---- -$ oc get managedcluster +$ oc get managedcluster ----