Skip to content

Commit 805de76

Browse files
authored
Merge pull request #58494 from amolnar-rh/TELCODOCS-1186
2 parents 7dc029c + 253a459 commit 805de76

File tree

3 files changed

+81
-2
lines changed

3 files changed

+81
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="lvms-installing-lvms-disconnected-env_{context}"]
7+
= Installing {lvms} in a disconnected environment
8+
9+
You can install {lvms} on {product-title} {product-version} in a disconnected environment. All sections referenced in this procedure are linked in _Additional resources_.
10+
11+
.Prerequisites
12+
13+
* You read the _About disconnected installation mirroring_ section.
14+
* You have access to the {product-title} image repository.
15+
* You created a mirror registry.
16+
17+
.Procedure
18+
19+
. Follow the steps in the _Creating the image set configuration_ procedure. To create an `ImageSetConfiguration` resource for {lvms}, you can use the following example YAML file:
20+
+
21+
include::snippets/lvms-disconnected-ImageSetConfig.adoc[]
22+
23+
. Follow the procedure in the _Mirroring an image set to a mirror registry_ section.
24+
25+
. Follow the procedure in the _Configuring image registry repository mirroring_ section.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:_content-type: SNIPPET
2+
.Example ImageSetConfiguration file for {lvms}
3+
[source,yaml,subs="attributes+"]
4+
----
5+
kind: ImageSetConfiguration
6+
apiVersion: mirror.openshift.io/v1alpha2
7+
archiveSize: 4 <1>
8+
storageConfig: <2>
9+
registry:
10+
imageURL: example.com/mirror/oc-mirror-metadata <3>
11+
skipTLS: false
12+
mirror:
13+
platform:
14+
channels:
15+
- name: stable-{product-version} <4>
16+
type: ocp
17+
graph: true <5>
18+
operators:
19+
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{product-version} <6>
20+
packages:
21+
- name: lvms-operator <7>
22+
channels:
23+
- name: stable <8>
24+
additionalImages:
25+
- name: registry.redhat.io/ubi8/ubi:latest <9>
26+
helm: {}
27+
----
28+
<1> Add `archiveSize` to set the maximum size, in GiB, of each file within the image set.
29+
<2> Set the back-end location to save the image set metadata to. This location can be a registry or local directory. It is required to specify `storageConfig` values, unless you are using the Technology Preview OCI feature.
30+
<3> Set the registry URL for the storage backend.
31+
<4> Set the channel to retrieve the {product-title} images from.
32+
<5> Add `graph: true` to generate the OpenShift Update Service (OSUS) graph image to allow for an improved cluster update experience when using the web console. For more information, see _About the OpenShift Update Service_.
33+
<6> Set the Operator catalog to retrieve the {product-title} images from.
34+
<7> Specify only certain Operator packages to include in the image set. Remove this field to retrieve all packages in the catalog.
35+
<8> Specify only certain channels of the Operator packages to include in the image set. You must always include the default channel for the Operator package even if you do not use the bundles in that channel. You can find the default channel by running the following command: `oc mirror list operators --catalog=<catalog_name> --package=<package_name>`.
36+
<9> Specify any additional images to include in image set.

storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ include::modules/lvms-installing-logical-volume-manager-operator-using-openshift
2424

2525
include::modules/lvms-uninstalling-logical-volume-manager-operator-using-openshift-web-console.adoc[leveloffset=+2]
2626

27+
include::modules/lvms-installing-logical-volume-manager-operator-disconnected-environment.adoc[leveloffset=+2]
28+
29+
[role="_additional-resources"]
30+
.Additional resources
31+
32+
* xref:../../../installing/disconnected_install/index.adoc#installing-mirroring-disconnected-about[About disconnected installation mirroring]
33+
34+
* xref:../../../installing/disconnected_install/installing-mirroring-creating-registry.adoc#installing-mirroring-creating-registry[Creating a mirror registry with mirror registry for Red Hat OpenShift]
35+
36+
* xref:../../../installing/disconnected_install/installing-mirroring-installation-images.adoc#installation-mirror-repository_installing-mirroring-installation-images[Mirroring the OpenShift Container Platform image repository]
37+
38+
* xref:../../../installing/disconnected_install/installing-mirroring-disconnected.adoc#oc-mirror-creating-image-set-config_installing-mirroring-disconnected[Creating the image set configuration]
39+
40+
* xref:../../../installing/disconnected_install/installing-mirroring-disconnected.adoc#mirroring-image-set[Mirroring an image set to a mirror registry]
41+
42+
* xref:../../../openshift_images/image-configuration.adoc#images-configuration-registry-mirror_image-configuration[Configuring image registry repository mirroring]
43+
44+
2745
include::modules/lvms-installing-logical-volume-manager-operator-using-rhacm.adoc[leveloffset=+2]
2846

2947
[role="_additional-resources"]
@@ -92,9 +110,9 @@ include::modules/lvms-scaling-storage-expand-pvc.adoc[leveloffset=+2]
92110
[role="_additional-resources"]
93111
.Additional resources
94112

95-
* xref:../../../storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.html#lvms-scaling-storage-of-single-node-openshift-cluster_logical-volume-manager-storage[Scaling up storage by adding capacity to your {sno} cluster]
113+
* xref:../../../storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc#lvms-scaling-storage-of-single-node-openshift-cluster_logical-volume-manager-storage[Scaling up storage by adding capacity to your {sno} cluster]
96114
97-
* xref:../../../storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.html#lvms-scaling-storage-of-single-node-openshift-cluster-using-rhacm_logical-volume-manager-storage[Scaling up storage by adding capacity to your single-node OpenShift cluster using RHACM]
115+
* xref:../../../storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc#lvms-scaling-storage-of-single-node-openshift-cluster-using-rhacm_logical-volume-manager-storage[Scaling up storage by adding capacity to your single-node OpenShift cluster using RHACM]
98116
99117
* xref:../../../storage/expanding-persistent-volumes.adoc#add-volume-expansion_expanding-persistent-volumes[Enabling volume expansion support]
100118

0 commit comments

Comments
 (0)