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
5. Check registry status by using the following command:
114
+
115
+
* Check registry status by using the following command:
113
116
+
114
117
[.console-input]
115
118
[source,shell script]
116
119
----
117
120
sudo podman ps
118
121
----
119
-
+
120
-
6. Make changes to ensure registry is reachable from jump box and management nodes. Add an entry in /etc/hosts for registry.hypervisor in 127.0.0.1 line on jump box/bastion.
122
+
123
+
* Make changes to ensure registry is reachable from jump box and management nodes. Add an entry in /etc/hosts for registry.hypervisor in 127.0.0.1 line on jump box/bastion.
121
124
+
122
125
[.console-input]
123
126
[source,shell script]
@@ -127,23 +130,28 @@ sudo vi /etc/hosts
127
130
+
128
131
image::dns-change.png[width=100%]
129
132
+
130
-
Add an entry to dnsmasq so that registry dns is accessible from OpenShift. Add this line: host-record=registry.hypervisor,192.168.125.1
133
+
134
+
* Add an entry to dnsmasq so that registry dns is accessible from OpenShift. Add this line: host-record=registry.hypervisor,192.168.125.1
131
135
+
132
136
[.console-input]
133
137
[source,shell script]
134
138
----
135
139
sudo vi /opt/dnsmasq/include.d/infrastructure-host.ipv4
136
140
----
137
-
+
138
-
7. Restart dnsmasq using the below command:
141
+
142
+
143
+
* Restart dnsmasq using the below command:
139
144
+
140
145
[.console-input]
141
146
[source,shell script]
142
147
----
143
148
sudo systemctl restart dnsmasq-virt
144
149
----
145
-
+
146
-
8. Create a file named imageset.yaml using the following code:
150
+
151
+
152
+
=== Copying images to internal registry and adding configs to the cluster:
153
+
154
+
* Create a file named imageset.yaml using the following code:
147
155
+
148
156
[.console-input]
149
157
[source,shell script]
@@ -189,16 +197,17 @@ mirror:
189
197
helm: {}
190
198
EOF
191
199
----
192
-
+
193
-
9. Generate Credentials to be used by oc-mirror command:
200
+
201
+
* Generate Credentials to be used by oc-mirror command:
RHACM Installation: We are installing RHACM as we need MCE for the cluster provisioning. MCE is required for this setup. You can install MCE only if you prefer.
315
+
==== RHACM Installation
316
+
317
+
We are installing RHACM as we need MCE for the cluster provisioning. MCE is required for this setup. You can install MCE only if you prefer.
301
318
302
319
image::acm1.png[width=100%]
303
320
image::acm2.png[width=100%]
304
321
image::acm3.png[width=100%]
305
322
image::acm4.png[width=100%]
306
323
307
-
OpenShift Virtualization Installation
324
+
==== OpenShift Virtualization Installation
308
325
309
-
- Now we will install OpenShift Virtualization using default values:
326
+
Now we will install OpenShift Virtualization using default values:
310
327
311
328
image::virt1.png[width=100%]
312
329
image::virt2.png[width=100%]
@@ -315,9 +332,9 @@ image::virt4.png[width=100%]
315
332
image::virt5.png[width=100%]
316
333
image::virt6.png[width=100%]
317
334
318
-
Hosted Control Plane Cluster creation:
335
+
=== Hosted Control Plane Cluster creation:
319
336
320
-
- Creating hosted cluster namespace(clusters-disconnected1) and adding the Registry CA and credentials to the HostedCluster namespace.
337
+
* Creating hosted cluster namespace(clusters-disconnected1) and adding the Registry CA and credentials to the HostedCluster namespace.
321
338
322
339
[.console-input]
323
340
[source,shell script]
@@ -340,7 +357,7 @@ spec: {}
340
357
status: {}
341
358
----
342
359
343
-
- Copy the Registry CA cert from here /opt/registry/certs/domain.crt and create a configmap as shown below.
360
+
* Copy the Registry CA cert from here /opt/registry/certs/domain.crt and create a configmap as shown below.
344
361
345
362
[.console-input]
346
363
[source,shell script]
@@ -355,7 +372,8 @@ metadata:
355
372
name: user-ca-bundle
356
373
namespace: clusters
357
374
----
358
-
- Create a secret for Hosted Cluster to access the Registry.
375
+
376
+
* Create a secret for Hosted Cluster to access the Registry.
0 commit comments