Skip to content

Commit 566a1df

Browse files
authored
Merge pull request #56739 from bscott-rh/OSDOCS-5159
2 parents 976eab9 + 0b119a8 commit 566a1df

8 files changed

+86
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,8 @@ Topics:
543543
File: bare-metal-configuration
544544
- Name: Configuring multi-architecture compute machines on an OpenShift cluster
545545
File: multi-architecture-configuration
546+
- Name: Enabling encryption on a vSphere cluster
547+
File: vsphere-post-installation-encryption
546548
- Name: Machine configuration tasks
547549
File: machine-configuration-tasks
548550
- Name: Cluster tasks

installing/installing_vsphere/installing-restricted-networks-vsphere.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ This section describes the requirements for deploying {product-title} on user-pr
6161

6262
include::modules/installation-machine-requirements.adoc[leveloffset=+2]
6363
include::modules/installation-minimum-resource-requirements.adoc[leveloffset=+2]
64+
include::modules/installation-vsphere-encrypted-vms.adoc[leveloffset=+2]
65+
[role="_additional-resources"]
66+
.Additional resources
67+
* xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[Creating an encrypted storage class]
68+
6469
include::modules/csr-management.adoc[leveloffset=+2]
6570

6671
include::modules/installation-network-user-infra.adoc[leveloffset=+2]
@@ -148,3 +153,4 @@ include::modules/cluster-telemetry.adoc[leveloffset=+1]
148153
* If necessary, you can
149154
xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health reporting].
150155
* Optional: xref:../../installing/installing_vsphere/using-vsphere-problem-detector-operator.adoc#vsphere-problem-detector-viewing-events_vsphere-problem-detector[View the events from the vSphere Problem Detector Operator] to determine if the cluster has permission or storage configuration issues.
156+
* Optional: if you created encrypted virtual machines, xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[create an encrypted storage class].

installing/installing_vsphere/installing-vsphere-network-customizations.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ This section describes the requirements for deploying {product-title} on user-pr
5353

5454
include::modules/installation-machine-requirements.adoc[leveloffset=+2]
5555
include::modules/installation-minimum-resource-requirements.adoc[leveloffset=+2]
56+
include::modules/installation-vsphere-encrypted-vms.adoc[leveloffset=+2]
57+
[role="_additional-resources"]
58+
.Additional resources
59+
* xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[Creating an encrypted storage class]
60+
5661
include::modules/csr-management.adoc[leveloffset=+2]
5762

5863
include::modules/installation-network-user-infra.adoc[leveloffset=+2]
@@ -135,3 +140,4 @@ include::modules/cluster-telemetry.adoc[leveloffset=+1]
135140
xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health reporting].
136141
* xref:../../registry/configuring_registry_storage/configuring-registry-storage-vsphere.adoc#configuring-registry-storage-vsphere[Set up your registry and configure registry storage].
137142
* Optional: xref:../../installing/installing_vsphere/using-vsphere-problem-detector-operator.adoc#vsphere-problem-detector-viewing-events_vsphere-problem-detector[View the events from the vSphere Problem Detector Operator] to determine if the cluster has permission or storage configuration issues.
143+
* Optional: if you created encrypted virtual machines, xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[create an encrypted storage class].

installing/installing_vsphere/installing-vsphere.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ This section describes the requirements for deploying {product-title} on user-pr
5353

5454
include::modules/installation-machine-requirements.adoc[leveloffset=+2]
5555
include::modules/installation-minimum-resource-requirements.adoc[leveloffset=+2]
56+
include::modules/installation-vsphere-encrypted-vms.adoc[leveloffset=+2]
57+
[role="_additional-resources"]
58+
.Additional resources
59+
* xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[Creating an encrypted storage class]
60+
5661
include::modules/csr-management.adoc[leveloffset=+2]
5762

5863
include::modules/installation-network-user-infra.adoc[leveloffset=+2]
@@ -138,3 +143,4 @@ include::modules/cluster-telemetry.adoc[leveloffset=+1]
138143
xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting_opting-out-remote-health-reporting[opt out of remote health reporting].
139144
* xref:../../registry/configuring_registry_storage/configuring-registry-storage-vsphere.adoc#configuring-registry-storage-vsphere[Set up your registry and configure registry storage].
140145
* Optional: xref:../../installing/installing_vsphere/using-vsphere-problem-detector-operator.adoc#vsphere-problem-detector-viewing-events_vsphere-problem-detector[View the events from the vSphere Problem Detector Operator] to determine if the cluster has permission or storage configuration issues.
146+
* Optional: if you created encrypted virtual machines, xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[create an encrypted storage class].
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// module is included in the following assemblies:
2+
// ../installing/installing_vsphere/installing-vsphere.adoc
3+
4+
:_content-type: PROCEDURE
5+
[id="installation-vsphere-encrypted-vms_{context}"]
6+
= Requirements for encrypting virtual machines
7+
8+
You can encrypt your virtual machines prior to installing {product-title} {product-version} by meeting the following requirements.
9+
10+
* You have configured a Standard key provider in vSphere. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vsan.doc/GUID-AC06B3C3-901F-402E-B25F-1EE7809D1264.html[Adding a KMS to vCenter Server].
11+
+
12+
[IMPORTANT]
13+
====
14+
The Native key provider in vCenter is not supported. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-54B9FBA2-FDB1-400B-A6AE-81BF3AC9DF97.html[vSphere Native Key Provider Overview].
15+
====
16+
17+
* You have enabled host encryption mode on all of the ESXi hosts that are hosting the cluster. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-A9E1F016-51B3-472F-B8DE-803F6BDB70BC.html[Enabling host encryption mode].
18+
* You have a vSphere account which has all cryptographic privileges enabled. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-660CCB35-847F-46B3-81CA-10DDDB9D7AA9.html[Cryptographic Operations Privileges].
19+
20+
When you deploy the OVF template in the section titled "Installing RHCOS and starting the OpenShift Container Platform bootstrap process", select the option to "Encrypt this virtual machine" when you are selecting storage for the OVF template. After completing cluster installation, create a storage class that uses the encryption storage policy you used to encrypt the virtual machines.

modules/installation-vsphere-machines.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ In the following steps, you create a template and then clone the template for al
114114
.. On the *Select storage* tab, configure the storage options for your VM.
115115
*** Select *Thin Provision* or *Thick Provision*, based on your storage preferences.
116116
*** Select the datastore that you specified in your `install-config.yaml` file.
117+
*** If you want to encrypt your virtual machines, select *Encrypt this virtual machine*. See the section titled "Requirements for encrypting virtual machines" for more information.
117118
.. On the *Select network* tab, specify the network that you configured for the cluster, if available.
118119
.. When creating the OVF template, do not specify values on the *Customize template* tab or configure the template any further.
119120
+

modules/vsphere-encrypting-vms.adoc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
:_content-type: PROCEDURE
2+
[id="encrypting-virtual-machines_{context}"]
3+
= Encrypting virtual machines
4+
5+
You can encrypt your virtual machines with the following process. You can drain your virtual machines, power them down and encrypt them using the vCenter interface. Finally, you can create a storage class to use the encrypted storage.
6+
7+
.Prerequisites
8+
9+
* You have configured a Standard key provider in vSphere. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vsan.doc/GUID-AC06B3C3-901F-402E-B25F-1EE7809D1264.html[Adding a KMS to vCenter Server].
10+
+
11+
[IMPORTANT]
12+
====
13+
The Native key provider in vCenter is not supported. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-54B9FBA2-FDB1-400B-A6AE-81BF3AC9DF97.html[vSphere Native Key Provider Overview].
14+
====
15+
16+
* You have enabled host encryption mode on all of the ESXi hosts that are hosting the cluster. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-A9E1F016-51B3-472F-B8DE-803F6BDB70BC.html[Enabling host encryption mode].
17+
* You have a vSphere account which has all cryptographic privileges enabled. For more information, see link:https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.security.doc/GUID-660CCB35-847F-46B3-81CA-10DDDB9D7AA9.html[Cryptographic Operations Privileges].
18+
19+
.Procedure
20+
21+
. Drain and cordon one of your nodes. For detailed instructions on node management, see "Working with Nodes".
22+
. Shutdown the virtual machine associated with that node in the vCenter interface.
23+
. Right-click on the virtual machine in the vCenter interface and select *VM Policies* -> *Edit VM Storage Policies*.
24+
. Select an encrypted storage policy and select *OK*.
25+
. Start the encrypted virtual machine in the vCenter interface.
26+
. Repeat steps 1-5 for all nodes that you want to encrypt.
27+
. Configure a storage class that uses the encrypted storage policy. For more information about configuring an encrypted storage class, see "VMware vSphere CSI Driver Operator".
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:_content-type: ASSEMBLY
2+
[id="vsphere-post-installation-encryption"]
3+
= Enabling encryption on a vSphere cluster
4+
include::_attributes/common-attributes.adoc[]
5+
:context: vsphere-post-installation-encryption
6+
7+
toc::[]
8+
9+
You can encrypt your virtual machines after installing {product-title} {product-version} on vSphere by draining and shutting down your nodes one at a time. While each virtual machine is shutdown, you can enable encryption in the vCenter web interface.
10+
11+
include::modules/vsphere-encrypting-vms.adoc[leveloffset=+1]
12+
13+
[role="_additional-resources"]
14+
[id="additional-resources_enabling-encryption-installation"]
15+
== Additional resources
16+
* xref:../nodes/nodes/nodes-nodes-working.adoc#nodes-nodes-working-evacuating_nodes-nodes-working[Working with nodes]
17+
* xref:../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#vsphere-encryption[vSphere encryption]
18+
* xref:../installing/installing_vsphere/installing-vsphere.adoc#installation-vsphere-encrypted-vms_installing-vsphere[Installing a cluster on vSphere with user-provisioned infrastructure]

0 commit comments

Comments
 (0)