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
Replace `<cluster_name>` with the name of your hosted cluster.
35
+
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
36
36
37
37
. Run the following command to apply the resource:
38
38
+
39
39
[source,terminal]
40
40
----
41
-
$ oc apply -f <file_name>
41
+
$ oc apply -f <file_name> <1>
42
42
----
43
43
+
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.
45
45
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:
47
47
+
48
48
[source,yaml]
49
49
----
50
50
apiVersion: agent.open-cluster-management.io/v1
51
51
kind: KlusterletAddonConfig
52
52
metadata:
53
-
name: <cluster_name>
54
-
namespace: <cluster_name>
53
+
name: <hosted_cluster_name> <1>
54
+
namespace: <hosted_cluster_namespace> <2>
55
55
spec:
56
-
clusterName: <cluster_name>
57
-
clusterNamespace: <cluster_name>
56
+
clusterName: <hosted_cluster_name>
57
+
clusterNamespace: <hosted_cluster_namespace>
58
58
clusterLabels:
59
59
cloud: auto-detect
60
60
vendor: auto-detect
@@ -70,20 +70,21 @@ spec:
70
70
enabled: false
71
71
----
72
72
+
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.
74
75
75
76
. Run the following command to apply the resource:
76
77
+
77
78
[source,terminal]
78
79
----
79
-
$ oc apply -f <file_name>
80
+
$ oc apply -f <file_name> <1>
80
81
----
81
82
+
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.
83
84
84
85
. 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:
0 commit comments