Chapter 11. Enabling encryption on a vSphere cluster


You can encrypt your virtual machines after installing OpenShift Container Platform 4.14 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.

11.1. Encrypting virtual machines

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.

Prerequisites

Procedure

  1. Drain and cordon one of your nodes. For detailed instructions on node management, see "Working with Nodes".
  2. Shutdown the virtual machine associated with that node in the vCenter interface.
  3. Right-click on the virtual machine in the vCenter interface and select VM Policies Edit VM Storage Policies.
  4. Select an encrypted storage policy and select OK.
  5. Start the encrypted virtual machine in the vCenter interface.
  6. Repeat steps 1-5 for all nodes that you want to encrypt.
  7. 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".

11.2. Additional resources

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.