Requirements to deploy Red Hat OpenShift Virtualization with ONTAP
Review the requirements to install and deploy OpenShift virtualization with ONTAP storage systems.
Prerequisites
-
A Red Hat OpenShift cluster (later than version 4.6) installed on bare-metal infrastructure with RHCOS worker nodes
-
Deploy Machine Health Checks to maintain HA for VMs
-
A NetApp ONTAP cluster, with SVM configured with the correct protocol.
-
Trident installed on the OpenShift cluster
-
A Trident backend configuration created
-
A StorageClass configured on the OpenShift cluster with Trident as the provisioner
For the above Trident prerequisites, see Trident installation section for details.
-
Cluster-admin access to Red Hat OpenShift cluster
-
Admin access to NetApp ONTAP cluster
-
An admin workstation with tridentctl and oc tools installed and added to $PATH
Because OpenShift Virtualization is managed by an operator installed on the OpenShift cluster, it imposes additional overhead on memory, CPU, and storage, which must be accounted for while planning the hardware requirements for the cluster. See the documentation here for more details.
Optionally, you can also specify a subset of the OpenShift cluster nodes to host the OpenShift Virtualization operators, controllers, and VMs by configuring node placement rules. To configure node placement rules for OpenShift Virtualization, follow the documentation here.
For the storage backing OpenShift Virtualization, NetApp recommends having a dedicated StorageClass that requests storage from a particular Trident backend, which in turn is backed by a dedicated SVM. This maintains a level of multitenancy with regard to the data being served for VM-based workloads on the OpenShift cluster.