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
@@ -23,185 +23,185 @@ You must meet the following requirements before you install Red Hat Advanced Clu
23
23
24
24
1. Create a namespace where the operator requirements are contained:
25
25
26
-
```
27
-
oc create namespace <namespace>
28
-
```
26
+
```
27
+
oc create namespace <namespace>
28
+
```
29
29
30
-
Replace _namespace_ with a name for your namespace.
30
+
Replace _namespace_ with a name for your namespace.
31
31
32
-
**Important:** The Red Hat Advanced Cluster Management operator must be installed in its own namespace. A `ServiceAccount` with a `ClusterRoleBinding` automatically gives cluster administrator privileges to Red Hat Advanced Cluster Management and to any ID with access to the namespace. For security, make sure that anyone who is given access to this namespace already has cluster-administrator access.
32
+
**Important:** The Red Hat Advanced Cluster Management operator must be installed in its own namespace. A `ServiceAccount` with a `ClusterRoleBinding` automatically gives cluster administrator privileges to Red Hat Advanced Cluster Management and to any ID with access to the namespace. For security, make sure that anyone who is given access to this namespace already has cluster-administrator access.
33
33
34
34
2. Switch your project namespace to the one that you created:
35
35
36
-
```
37
-
oc project <namespace>
38
-
```
39
-
Replace _namespace_ with the name of the namespace that you created in step 1.
36
+
```
37
+
oc project <namespace>
38
+
```
39
+
Replace _namespace_ with the name of the namespace that you created in step 1.
40
40
41
41
3. Create an operator group. Each namespace can have only one operator group.
42
42
43
-
1. Create a `.yaml` file that defines the operator group. Your file should look similar to the following example:
44
-
45
-
```
46
-
apiVersion: operators.coreos.com/v1
47
-
kind: OperatorGroup
48
-
metadata:
49
-
name: <default>
50
-
spec:
51
-
targetNamespaces:
52
-
- <namespace>
53
-
```
54
-
55
-
Replace _default_ with the name of your operator group.
56
-
Replace _namespace_ with the name of your project namespace.
43
+
1. Create a `.yaml` file that defines the operator group. Your file should look similar to the following example:
44
+
45
+
```
46
+
apiVersion: operators.coreos.com/v1
47
+
kind: OperatorGroup
48
+
metadata:
49
+
name: <default>
50
+
spec:
51
+
targetNamespaces:
52
+
- <namespace>
53
+
```
54
+
55
+
Replace _default_ with the name of your operator group.
56
+
Replace _namespace_ with the name of your project namespace.
57
57
58
58
2. Apply the file that you created to define the operator group:
59
59
60
-
```
61
-
oc apply -f local/<operator-group>.yaml
62
-
```
63
-
Replace _operator-group_ with the name of the operator group `.yaml` file that you created.
60
+
```
61
+
oc apply -f local/<operator-group>.yaml
62
+
```
63
+
Replace _operator-group_ with the name of the operator group `.yaml` file that you created.
64
64
65
65
4. Apply the subscription.
66
66
67
-
1. Create a `.yaml` file that defines the subscription. Your file should look similar to the following example:
68
-
69
-
```
70
-
apiVersion: operators.coreos.com/v1alpha1
71
-
kind: Subscription
72
-
metadata:
73
-
name: acm-operator-subscription
74
-
spec:
75
-
sourceNamespace: openshift-marketplace
76
-
source: redhat-operators
77
-
channel: release-1.0
78
-
installPlanApproval: Automatic
79
-
name: advanced-cluster-management
80
-
```
67
+
1. Create a `.yaml` file that defines the subscription. Your file should look similar to the following example:
68
+
69
+
```
70
+
apiVersion: operators.coreos.com/v1alpha1
71
+
kind: Subscription
72
+
metadata:
73
+
name: acm-operator-subscription
74
+
spec:
75
+
sourceNamespace: openshift-marketplace
76
+
source: redhat-operators
77
+
channel: release-1.0
78
+
installPlanApproval: Automatic
79
+
name: advanced-cluster-management
80
+
```
81
81
82
82
2. Apply the subscription:
83
83
84
-
```
85
-
oc apply -f local/<subscription>.yaml
86
-
```
84
+
```
85
+
oc apply -f local/<subscription>.yaml
86
+
```
87
87
88
88
5. Generate a pull secret to access the entitled content from the distribution registry. **Important:** Pull secrets are namespace-specific, so make sure that you are in the namespace that you created in step 1.
Replace _secret_ with the name of the secret that you created.
94
+
Replace _docker_username_ with your username for the distribution registry that you identified as the `docker-server`.
95
+
Replace _docker_password_ with your password or token for the distribution registry that you identified as the `docker-server`.
96
96
97
97
6. Create the MultiClusterHub custom resource by creating a `.yaml` file that defines the custom resource. Your file should look similar to the following example:
Replace _secret_ with the name of the secret that you created.
109
+
Replace _namespace_ with your project namespace.
110
+
Replace _secret_ with the name of the secret that you created.
111
111
112
-
If this step fails with the following error, the resources are still being created and applied:
112
+
If this step fails with the following error, the resources are still being created and applied:
113
113
114
-
```
115
-
error: unable to recognize "./mch.yaml": no matches for kind "MultiClusterHub" in version "operators.open-cluster- management.io/v1beta1"
116
-
```
114
+
```
115
+
error: unable to recognize "./mch.yaml": no matches for kind "MultiClusterHub" in version "operators.open-cluster- management.io/v1beta1"
116
+
```
117
117
118
-
Run the command again in a few minutes when the resources are created.
118
+
Run the command again in a few minutes when the resources are created.
119
119
120
120
7. View the list of routes after about 10 minutes to find your route:
121
121
122
-
```
123
-
oc get routes
124
-
```
122
+
```
123
+
oc get routes
124
+
```
125
125
126
126
## Installing Red Hat Advanced Cluster Management from the console
127
127
128
128
1. Create a namespace for the operator requirements:
129
129
130
-
1. In the Red Hat OpenShift Container Platform console navigation, select **Administration** > **Namespaces**.
130
+
1. In the Red Hat OpenShift Container Platform console navigation, select **Administration** > **Namespaces**.
131
131
132
-
2. Select **Create Namespace**.
132
+
2. Select **Create Namespace**.
133
133
134
-
3. Provide a name for your namespace. This is the namespace that you use throughout the installation process.
134
+
3. Provide a name for your namespace. This is the namespace that you use throughout the installation process.
135
135
136
-
4. Select **Create**.
136
+
4. Select **Create**.
137
137
138
-
**Important:** The Red Hat Advanced Cluster Management operator must be installed in its own namespace. A `ServiceAccount` with a `ClusterRoleBinding` automatically gives cluster administrator privileges to Red Hat Advanced Cluster Management and to any ID with access to the namespace. For security, make sure that anyone who is given access to this namespace already has cluster-administrator access.
138
+
**Important:** The Red Hat Advanced Cluster Management operator must be installed in its own namespace. A `ServiceAccount` with a `ClusterRoleBinding` automatically gives cluster administrator privileges to Red Hat Advanced Cluster Management and to any ID with access to the namespace. For security, make sure that anyone who is given access to this namespace already has cluster-administrator access.
139
139
140
140
2. Switch your project namespace to the one that you created in step 1. This ensures that the steps are completed in the correct namespace. Some resources are namespace-specific.
141
141
142
-
1. In the Red Hat OpenShift Container Platform console navigation, select **Administration** > **Namespaces**.
142
+
1. In the Red Hat OpenShift Container Platform console navigation, select **Administration** > **Namespaces**.
143
143
144
-
2. In the *Projects* field, select the namespace that you created in step 1 from the dropdown list.
144
+
2. In the *Projects* field, select the namespace that you created in step 1 from the dropdown list.
145
145
146
146
3. Create a pull secret that provides the entitlement to the downloads.
147
147
148
-
1. In the Red Hat OpenShift Container Platform console navigation, select **Workloads** > **Secrets**.
148
+
1. In the Red Hat OpenShift Container Platform console navigation, select **Workloads** > **Secrets**.
149
149
150
-
2. Select **Create** > **Image Pull Secret**.
150
+
2. Select **Create** > **Image Pull Secret**.
151
151
152
-
3. Enter a name for your secret.
152
+
3. Enter a name for your secret.
153
153
154
-
4. Select **Image Registry Credentials** as the authentication type.
154
+
4. Select **Image Registry Credentials** as the authentication type.
155
155
156
-
5. In the *Registry Server Address* field, enter the address of the distribution registry that contains your image. In most cases, it is `registry.access.redhat.com/rhacm1-tech-preview`.
156
+
5. In the *Registry Server Address* field, enter the address of the distribution registry that contains your image. In most cases, it is `registry.access.redhat.com/rhacm1-tech-preview`.
157
157
158
-
6. Enter your username and password or token for the distribution registry that contains the image.
158
+
6. Enter your username and password or token for the distribution registry that contains the image.
159
159
160
-
7. Select **Create** to create the pull secret.
160
+
7. Select **Create** to create the pull secret.
161
161
162
162
4. Subscribe to the operator.
163
163
164
-
1. In the Red Hat OpenShift Container Platform console navigation, select **Operators** > **OperatorHub**.
164
+
1. In the Red Hat OpenShift Container Platform console navigation, select **Operators** > **OperatorHub**.
165
165
166
-
2. Select **Red Hat Advanced Cluster Management**. **Tip:** You can filter on the *Integration & Delivery* category to narrow the choices.
166
+
2. Select **Red Hat Advanced Cluster Management**. **Tip:** You can filter on the *Integration & Delivery* category to narrow the choices.
167
167
168
-
3. Select **Install**.
168
+
3. Select **Install**.
169
169
170
-
4. Update the values, if necessary.
170
+
4. Update the values, if necessary.
171
171
172
-
5. Select **Subscribe**.
172
+
5. Select **Subscribe**.
173
173
174
174
5. Create the *MultiClusterHub* custom resource.
175
175
176
-
1. In the Red Hat OpenShift Container Platform console navigation, select **Installed Operators** > **MultiClusterHub**.
176
+
1. In the Red Hat OpenShift Container Platform console navigation, select **Installed Operators** > **MultiClusterHub**.
177
177
178
-
2. Select the **MultiClusterHub** tab.
178
+
2. Select the **MultiClusterHub** tab.
179
179
180
-
3. Select **Create MultiClusterHub**.
180
+
3. Select **Create MultiClusterHub**.
181
181
182
-
4. Update the default values in the `.yaml` file, according to your needs. The following example shows some sample data:
182
+
4. Update the default values in the `.yaml` file, according to your needs. The following example shows some sample data:
0 commit comments