Skip to content

Commit a9357bf

Browse files
authored
Merge pull request #28522 from emarcusRH/OCPRHV-416
OCPRHV-416 new chap - Cluster setup on RHV in a restricted network
2 parents e621ddb + 6cee979 commit a9357bf

27 files changed

+153
-11
lines changed

_topic_map.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ Topics:
277277
File: installing-rhv-customizations
278278
- Name: Installing a cluster on RHV with user-provisioned infrastructure
279279
File: installing-rhv-user-infra
280+
- Name: Installing a cluster on RHV in a restricted network
281+
File: installing-rhv-restricted-network
280282
- Name: Uninstalling a cluster on RHV
281283
File: uninstalling-cluster-rhv
282284
- Name: Installing on oVirt
@@ -1045,7 +1047,7 @@ Topics:
10451047
File: persistent-storage-csi-cinder
10461048
- Name: OpenStack Manila CSI Driver Operator
10471049
File: persistent-storage-csi-manila
1048-
- Name: Red Hat Virtualization (oVirt) CSI Driver Operator
1050+
- Name: Red Hat Virtualization CSI Driver Operator
10491051
File: persistent-storage-csi-ovirt
10501052
- Name: Expanding persistent volumes
10511053
File: expanding-persistent-volumes
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
[id="installing-rhv-restricted-network_{context}"]
2+
= Installing a cluster on {rh-virtualization} in a restricted network
3+
include::modules/common-attributes.adoc[]
4+
:context: installing-rhv-restricted-network
5+
6+
toc::[]
7+
8+
In {product-title} version {product-version}, you can install a
9+
customized {product-title} cluster on {rh-virtualization-first} in a restricted network by creating an internal mirror of the installation release content.
10+
11+
== Prerequisites
12+
13+
The following items are required to install an {product-title} cluster on a {rh-virtualization} environment.
14+
15+
* You have a supported combination of versions in the link:https://access.redhat.com/articles/5485861[Support Matrix for {product-title} on {rh-virtualization}].
16+
* You are familiar with the xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
17+
* xref:../../installing/install_config/installing-restricted-networks-preparations.adoc#installing-restricted-networks-preparations[Create a registry on your mirror host] and obtain the `imageContentSources` data for your version of {product-title}.
18+
+
19+
[IMPORTANT]
20+
====
21+
Because the installation media is on the mirror host, you can use that computer
22+
to complete all installation steps.
23+
====
24+
* Provision
25+
xref:../../storage/understanding-persistent-storage.adoc#understanding-persistent-storage[persistent storage] for your cluster. To deploy a private image registry, your storage must provide ReadWriteMany access modes.
26+
* Review details about the xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] processes.
27+
* If you use a firewall and plan to use telemetry, you must xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configure the firewall to allow the sites] that your cluster requires access to.
28+
+
29+
[NOTE]
30+
====
31+
Be sure to also review this site list if you are configuring a proxy.
32+
====
33+
34+
include::modules/installation-about-restricted-network.adoc[leveloffset=+1]
35+
36+
include::modules/cluster-entitlements.adoc[leveloffset=+1]
37+
38+
include::modules/installing-rhv-requirements.adoc[leveloffset=+1]
39+
40+
include::modules/installing-rhv-verifying-rhv-environment.adoc[leveloffset=+1]
41+
42+
include::modules/installation-network-user-infra.adoc[leveloffset=+1]
43+
44+
include::modules/installation-dns-user-infra.adoc[leveloffset=+1]
45+
46+
include::modules/installing-rhv-setting-up-installation-machine.adoc[leveloffset=+1]
47+
48+
include::modules/installing-rhv-setting-up-ca-certificate.adoc[leveloffset=+1]
49+
50+
include::modules/ssh-agent-using.adoc[leveloffset=+1]
51+
52+
include::modules/installation-rhv-downloading-ansible-playbooks.adoc[leveloffset=+1]
53+
54+
include::modules/installation-rhv-about-inventory-yml.adoc[leveloffset=+1]
55+
56+
include::modules/installation-rhv-specifying-rhcos-image-settings.adoc[leveloffset=+1]
57+
58+
include::modules/installation-rhv-creating-install-config-file.adoc[leveloffset=+1]
59+
60+
include::modules/installation-bare-metal-config-yaml.adoc[leveloffset=+1]
61+
62+
include::modules/installation-configure-proxy.adoc[leveloffset=+2]
63+
64+
include::modules/installation-rhv-customizing-install-config-yaml.adoc[leveloffset=+1]
65+
66+
include::modules/installation-rhv-editing-manifests.adoc[leveloffset=+1]
67+
68+
include::modules/installation-rhv-making-control-plane-nodes-non-schedulable.adoc[leveloffset=+1]
69+
70+
include::modules/installation-rhv-building-ignition-files.adoc[leveloffset=+1]
71+
72+
include::modules/installation-rhv-creating-templates-virtual-machines.adoc[leveloffset=+1]
73+
74+
include::modules/installation-rhv-creating-bootstrap-machine.adoc[leveloffset=+1]
75+
76+
include::modules/installation-rhv-creating-control-plane-nodes.adoc[leveloffset=+1]
77+
78+
include::modules/installation-osp-verifying-cluster-status.adoc[leveloffset=+1]
79+
80+
include::modules/installation-rhv-removing-bootstrap-machine.adoc[leveloffset=+1]
81+
82+
include::modules/installation-rhv-creating-worker-nodes-completing-installation.adoc[leveloffset=+1]

modules/cluster-entitlements.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
// * installing/installing_openstack/installing-openstack-installer.adoc
2525
// * installing/installing_aws/installing-restricted-networks-aws.adoc
2626
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
27+
// * installing/installing_rhv/installing-rhv-restricted-network.adoc
2728
// * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc
2829
// * installing/installing_vsphere/installing-vsphere.adoc
2930
// * installing/installing_vsphere/installing-vsphere-installer-provisioned.adoc

modules/installation-about-restricted-network.adoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// * installing/installing_openstack/installing-openstack-installer-restricted.adoc
77
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc
88
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
9+
// * installing/installing-rhv-restricted-network.adoc
910

1011
ifeval::["{context}" == "installing-ibm-power"]
1112
:ibm-power:
@@ -16,6 +17,9 @@ endif::[]
1617
ifeval::["{context}" == "installing-openstack-installer-restricted"]
1718
:osp:
1819
endif::[]
20+
ifeval::["{context}" == "installing-rhv-restricted-network"]
21+
:rhv:
22+
endif::[]
1923

2024
[id="installation-about-restricted-networks_{context}"]
2125
= About installations in restricted networks
@@ -39,12 +43,12 @@ installation media. You can create this registry on a mirror host, which can
3943
access both the Internet and your closed network, or by using other methods
4044
that meet your restrictions.
4145

42-
ifndef::osp[]
46+
ifndef::osp,rhv[]
4347
[IMPORTANT]
4448
====
4549
Because of the complexity of the configuration for user-provisioned installations, consider completing a standard user-provisioned infrastructure installation before you attempt a restricted network installation using user-provisioned infrastructure. Completing this test installation might make it easier to isolate and troubleshoot any issues that might arise during your installation in a restricted network.
4650
====
47-
endif::osp[]
51+
endif::osp,rhv[]
4852

4953
[id="installation-restricted-network-limits{context}"]
5054
== Additional limits
@@ -67,3 +71,6 @@ endif::[]
6771
ifeval::["{context}" == "installing-openstack-installer-restricted"]
6872
:!osp:
6973
endif::[]
74+
ifeval::["{context}" == "installing-rhv-restricted-network"]
75+
:!rhv:
76+
endif::[]

modules/installation-bare-metal-config-yaml.adoc

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
// Module included in the following assemblies:
22
//
3+
// * installing/installing_bare_metal/installing-bare-metal-network-customizations.adoc
34
// * installing/installing_bare_metal/installing-bare-metal.adoc
45
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
56
// * installing/installing_ibm_z/installing-ibm-z.adoc
6-
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc
77
// * installing/installing_ibm_z/installing-ibm-z-kvm.adoc
8-
// * installing/installing_ibm_z/installing-ibm-power.adoc
9-
// * installing/installing_ibm_z/installing-restricted-networks-ibm-power.adoc
8+
// * installing/installing_ibm_power/installing-ibm-power.adoc
9+
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
10+
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc
11+
// * installing/installing_platform_agnostic/installing-platform-agnostic.adoc
12+
// * installing/installing-rhv-restricted-network.adoc
1013

1114
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
1215
:restricted:
@@ -30,11 +33,15 @@ endif::[]
3033
ifeval::["{context}" == "installing-platform-agnostic"]
3134
:agnostic:
3235
endif::[]
36+
ifeval::["{context}" == "installing-rhv-restricted-network"]
37+
:rhv:
38+
endif::[]
39+
3340

3441
[id="installation-bare-metal-config-yaml_{context}"]
35-
ifndef::ibm-z,ibm-z-kvm,ibm-power,agnostic[]
42+
ifndef::ibm-z,ibm-z-kvm,ibm-power,agnostic,rhv[]
3643
= Sample `install-config.yaml` file for bare metal
37-
endif::ibm-z,ibm-z-kvm,ibm-power,agnostic[]
44+
endif::ibm-z,ibm-z-kvm,ibm-power,agnostic,rhv[]
3845
ifdef::ibm-z,ibm-z-kvm[]
3946
= Sample `install-config.yaml` file for IBM Z
4047
endif::ibm-z,ibm-z-kvm[]
@@ -44,6 +51,9 @@ endif::ibm-power[]
4451
ifdef::agnostic[]
4552
= Sample `install-config.yaml` file for other platforms
4653
endif::agnostic[]
54+
ifdef::rhv[]
55+
= Sample `install-config.yaml` file for RHV
56+
endif::rhv[]
4757

4858
You can customize the `install-config.yaml` file to specify more details about
4959
your {product-title} cluster's platform or modify the values of the required
@@ -174,9 +184,10 @@ one IP address pool. If you need to access the services from an external network
174184
configure load balancers and routers to manage the traffic.
175185
<10> You must set the platform to `none`. You cannot provide additional platform
176186
configuration variables for
177-
ifndef::ibm-z,ibm-z-kvm,ibm-power[your platform.]
187+
ifndef::ibm-z,ibm-z-kvm,ibm-power,rhv[your platform.]
178188
ifdef::ibm-z,ibm-z-kvm[IBM Z infrastructure.]
179189
ifdef::ibm-power[IBM Power Systems infrastructure.]
190+
ifdef::rhv[RHV infrastructure.]
180191
<11> Whether to enable or disable FIPS mode. By default, FIPS mode is not enabled. If FIPS mode is enabled, the {op-system-first} machines that {product-title} runs on bypass the default Kubernetes cryptography suite and use the cryptography modules that are provided with {op-system} instead.
181192
ifndef::restricted[]
182193
ifdef::ibm-z,ibm-z-kvm[]
@@ -241,3 +252,6 @@ endif::[]
241252
ifeval::["{context}" == "installing-platform-agnostic"]
242253
:!agnostic:
243254
endif::[]
255+
ifeval::["{context}" == "installing-rhv-restricted-network"]
256+
:!rhv:
257+
endif::[]

modules/installation-configure-proxy.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// * installing/installing_vsphere/installing-vsphere.adoc
1717
// * installing/installing_ibm_z/installing-ibm-z.adoc
1818
// * networking/configuring-a-custom-pki.adoc
19+
// * installing/installing-rhv-restricted-network.adoc
1920

2021
ifeval::["{context}" == "installing-bare-metal"]
2122
:bare-metal:

modules/installation-dns-user-infra.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc
77
// * installing/installing_vsphere/installing-vsphere.adoc
88
// * installing/installing_ibm_z/installing-ibm-z.adoc
9+
// * installing/installing-rhv-restricted-network.adoc
10+
911

1012

1113
:prewrap!:
@@ -158,3 +160,8 @@ $TTL 1W
158160
;
159161
;EOF
160162
====
163+
164+
[NOTE]
165+
====
166+
For clusters using installer-provisioned infrastructure, only the DNS records must be added.
167+
====

modules/installation-mirror-repository.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * installing/install_config/installing-restricted-networks-preparations.adoc
44
// * openshift_images/samples-operator-alt-registry.adoc
5+
// * installing/installing-rhv-restricted-network.adoc
56

67
[id="installation-mirror-repository_{context}"]
78
= Mirroring the {product-title} image repository
@@ -175,7 +176,7 @@ $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${
175176
----
176177
$ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
177178
----
178-
179+
+
179180
[IMPORTANT]
180181
====
181182
To ensure that you use the correct images for the version of {product-title}
@@ -184,5 +185,12 @@ content.
184185
185186
You must perform this step on a machine with an active Internet connection.
186187
187-
If you are in a disconnected environment, use the `--image` flag as part of must-gather and point to the payload image.
188+
If you are in a disconnected environment, use the `--image` flag as part of must-gather and point to the payload image.
188189
====
190+
+
191+
. For clusters using installer-provisioned infrastructure, run the following command:
192+
+
193+
[source,terminal]
194+
----
195+
$ openshift-install
196+
----

modules/installation-network-user-infra.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// * installing/installing_ibm_z/installing-ibm-z-kvm.adoc
1313
// * installing/installing_ibm_z/installing-ibm-power.adoc
1414
// * installing/installing_ibm_z/installing-restricted-networks-ibm-power.adoc
15+
// * installing/installing-rhv-restricted-network.adoc
1516

1617
ifeval::["{context}" == "installing-vsphere"]
1718
:vsphere:

modules/installation-osp-verifying-cluster-status.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// * installing/installing_rhv/installing-rhv-default.adoc
88
// * installing/installing_rhv/installing-rhv-customizations.adoc
99
// * installing/installing_rhv/installing-rhv-user-infra.adoc
10+
// * installing/installing-rhv-restricted-network.adoc
1011

1112
ifeval::["{context}" == "installing-rhv-user-infra"]
1213
:rhv-user-infra:

0 commit comments

Comments
 (0)