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
You can run your cluster in a restricted network without direct internet connectivity if you install the cluster from a mirrored set of {product-title} container images in a private registry. This registry must be running whenever your cluster is running.
9
+
You can run your cluster in a disconnected environment if you install the cluster from a mirrored set of {product-title} container images in a private registry. This registry must be running whenever your cluster is running.
10
10
11
-
Just as you can use the `oc-mirror` OpenShift CLI (`oc`) plugin, you can also use oc-mirror plugin v2 to mirror images to a mirror registry in your fully or partially disconnected environments. To download the required images from the official RedHat registries, you must run oc-mirror plugin v2 from a system with internet connectivity.
11
+
Just as you can use the `oc-mirror` OpenShift CLI (`oc`) plugin, you can also use oc-mirror plugin v2 to mirror images to a mirror registry in your fully or partially disconnected environments. To download the required images from the official Red{nbsp}Hat registries, you must run oc-mirror plugin v2 from a system with internet connectivity.
* You must have a container image registry that supports link:https://docs.docker.com/registry/spec/manifest-v2-2[Docker V2-2] in the location that hosts the {product-title} cluster, such as {quay}.
20
26
+
21
27
[NOTE]
22
28
====
23
-
If you use {quay}, use version 3.6 or later with the oc-mirror plugin. See the documentation on link:https://access.redhat.com/documentation/en-us/red_hat_quay/3/html/deploying_the_red_hat_quay_operator_on_openshift_container_platform/index[Deploying the Red Hat Quay Operator on OpenShift Container Platform (Red Hat Quay documentation)]. If you need additional assistance selecting and installing a registry, contact your sales representative or Red Hat Support.
24
-
====
29
+
* If you use {quay}, use version 3.6 or later with the oc-mirror plugin. See link:https://access.redhat.com/documentation/en-us/red_hat_quay/3/html/deploying_the_red_hat_quay_operator_on_openshift_container_platform/index[Deploying the Red{nbsp}Hat Quay Operator on {product-title} (Red{nbsp}Hat Quay documentation)]. If you need additional assistance selecting and installing a registry, contact your sales representative or Red{nbsp}Hat Support.
25
30
26
-
[Optional]
27
-
* If you do not have an existing solution for a container image registry, {product-title} subscribers receive a mirror registry for Red Hat OpenShift. This mirror registry is included with your subscription and serves as a small-scale container registry. You can use this registry to mirror the necessary container images of {product-title} for disconnected installations.
31
+
* If you do not have an existing solution for a container image registry, {product-title} subscribers receive a mirror registry for Red{nbsp}Hat OpenShift. This mirror registry is included with your subscription and serves as a small-scale container registry. You can use this registry to mirror the necessary container images of {product-title} for disconnected installations.
32
+
====
28
33
29
34
* Every machine in the provisioned clusters must have access to the mirror registry. If the registry is unreachable, tasks like installation, updating, or routine operations such as workload relocation, might fail. Mirror registries must be operated in a highly available manner, ensuring their availability aligns with the production availability of your {product-title} clusters.
30
35
31
-
.High level workflow
32
-
33
-
The following steps outline the high-level workflow on how to mirror images to a mirror registry by using the oc-mirror plugin v2:
34
-
35
-
. Create an image set configuration file.
36
-
37
-
. Mirror the image set to the target mirror registry by using one of the following workflows:
38
-
39
-
* Mirror an image set directly to the target mirror registry (mirror to mirror).
40
-
41
-
** Mirror an image set to disk (Mirror-to-Disk), transfer the `tar` file to the target environment, then mirror the image set to the target mirror registry (Disk-to-Mirror).
42
-
43
-
. Configure your cluster to use the resources generated by the oc-mirror plugin v2.
44
-
45
-
. Repeat these steps to update your target mirror registry as necessary.
Mirroring an image set to a mirror registry ensures that the required images are available in a secure and controlled environment, facilitating smoother deployments, updates, and maintenance tasks.
* xref:../../disconnected/updating/disconnected-update-osus.adoc#updating-disconnected-cluster-osus[Updating a cluster in a disconnected environment using the OpenShift Update Service]
Once your cluster is configured to use the resources generated by oc-mirror plugin v2, see xref:../../disconnected/mirroring/about-installing-oc-mirror-v2.adoc#next-steps_about-installing-oc-mirror-v2[Next Steps] for information about tasks that you can perform using your mirrored images.
* xref:../../disconnected/updating/disconnected-update-osus.adoc#updating-disconnected-cluster-osus[Updating a cluster in a disconnected environment using the OpenShift Update Service]
* xref:../../disconnected/mirroring/about-installing-oc-mirror-v2.adoc#oc-mirror-updating-cluster-manifests-v2_about-installing-oc-mirror-v2[Configuring your cluster to use the resources generated by oc-mirror]
116
+
117
+
[id="next-steps_{context}"]
118
+
== Next steps
119
+
120
+
After you mirror images to your disconnected environment using oc-mirror plugin v2, you can perform any of the following actions:
121
+
122
+
* xref:../../disconnected/installing.adoc#installing-disconnected-environments[Installing a cluster in a disconnected environment]
123
+
* xref:../../disconnected/using-olm.adoc#olm-restricted-networks[Using Operator Lifecycle Manager in disconnected environments]
124
+
* xref:../../disconnected/updating/disconnected-update-osus.adoc#updating-disconnected-cluster-osus[Updating a cluster in a disconnected environment using the OpenShift Update Service]
125
+
126
+
// Intentionally linking to the OSUS update procedure since we probably want to steer users to do that workflow as much as possible. But I can change to the index of the update section if I shouldn't be as prescriptive.
= Configuring credentials that allow images to be mirrored
30
31
31
-
Create a container image registry credentials file that enables you to mirror images from RedHat to your mirror.
32
+
Create a container image registry credentials file that enables you to mirror images from Red{nbsp}Hat to your mirror.
32
33
33
34
ifdef::restricted[]
34
35
[WARNING]
@@ -37,13 +38,7 @@ Do not use this image registry credentials file as the pull secret when you inst
37
38
====
38
39
endif::restricted[]
39
40
40
-
ifdef::restricted[]
41
-
[WARNING]
42
-
====
43
-
This process requires that you have write access to a container image registry on the mirror registry and adds the credentials to a registry pull secret.
44
-
====
45
-
46
-
endif::restricted[]
41
+
// removed this warning since the first part is more of a prereq, and the second part seems to just describe what will happen later in the procedure. Can revert/modify as needed.
Where `<directory_name>` is either `~/.docker` or `$XDG_RUNTIME_DIR/containers`, and `<auth_file>` is either `config.json` or `auth.json`.
119
-
endif::[]
114
+
endif::oc-mirror[]
120
115
// Similar to the additional step above, except it is framed as optional because it is included in a disconnected update page (where users may or may not use oc-mirror for their process)
121
116
ifdef::update-oc-mirror[]
122
117
. Optional: If using the oc-mirror plugin, save the file as either `~/.docker/config.json` or `$XDG_RUNTIME_DIR/containers/auth.json`:
Copy file name to clipboardExpand all lines: modules/oc-mirror-IDMS-ITMS-about.adoc
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,11 @@
6
6
[id="oc-mirror-custom-resources-v2_{context}"]
7
7
= About custom resources generated by v2
8
8
9
-
With oc-mirror plugin v2, `ImageDigestMirrorSet` (IDMS) and `ImageTagMirrorSet` (ITMS) are generated by default if at least one image is found to which a tag refers. These sets contain mirrors for images referenced by digest or tag in releases, Operator catalogs and additional images.
9
+
// Should sentence below say "to which a digest or tag refers"?
10
10
11
-
The `ImageDigestMirrorSet` (IDMS) links the mirror registry to the source registry and forwards image pull requests using digest specifications. The `ImagetagMirrorSet` (ITMS) resource, however, redirects image pull requests by using image tags.
11
+
With oc-mirror plugin v2, `ImageDigestMirrorSet` (IDMS) resources are generated by default if at least one image of the image set is mirrored by digest.
12
+
`ImageTagMirrorSet` (ITMS) resources are generated if at least one image from the image set is mirrored by tag.
12
13
13
14
Operator Lifecycle Manager (OLM) uses the `CatalogSource` resource to retrieve information about the available Operators in the mirror registry.
14
15
15
-
The OSUS service uses the `UpdateService` resource to provide Cincinnati graph to the disconnected environment.
16
+
The OpenShift Update Service uses the `UpdateService` resource to provide update graph data to the disconnected environment.
0 commit comments