Getting started with Red Hat OpenShift Virtualization

Red Hat® OpenShift® Virtualization allows users to run virtual machines (VMs) alongside containers on the same platform. Learn how to create, deploy, and migrate different VMs on a single platform. 

Red Hat® OpenShift® Virtualization allows users to run virtual machines (VMs) alongside containers on the same platform. Learn how to create, deploy, and migrate different VMs on a single platform. 

Prerequisites for Red Hat OpenShift Virtualization

10 mins

Before you begin, there are a few things that should be done to prepare your environment for using Red Hat® OpenShift® Virtualization. The steps below will guide you through the key steps necessary for this transition. 

What will you learn?

  • How to prepare your environment for Red Hat OpenShift Virtualization

What do you need before starting?

Prerequisites

OpenShift Virtualization requires bare metal nodes, so you should first create these in your OpenShift cluster. The following steps will walk you through the process of adding “m5.metal node” to your machine pool.

  1. Open a new tab or window and sign in to your Hybrid Cloud Console
  2. Click Clusters in the left hand menu and select your OpenShift cluster.
  3. Click Machine Pools in the upper menu.
  4. Click the Add Machine Pool button. 
  5. Name your machine pool and select the m5.metal node (96 vCPU, 384 GiB RAM) option under the Compute node instance type menu. 
  6. Click the Enable autoscaling checkbox to select it and set Minimum node count to 2 and Maximum node count to 3.
    1. Note: The minimum must be 2 for supported workloads. The maximum may be any number up to the platform max, but the autoscaler requires a number greater than the minimum. Maximum of 3 in the instructions above is for demo/example purposes, and your platform max/needs may vary.  
  7. Click Add machine pool in the lower left of the modal. 
  8. After the pool is created, click the Edit cluster autoscaling button and click the Autoscale cluster button in the upper left of the modal that appears.
  9. Click Close in the lower left to exit the modal. 
  10. Navigate to the OpenShift console to view the node. 
    1. Your nodes will show as machines at first. It may take up to 45 minutes for them to provision and be introduced to the cluster as a node.

Once you’ve met these prerequisites, you are now ready to configure OpenShift Virtualization.
 

Previous resource
Overview: Getting started with Red Hat OpenShift Virtualization
Next resource
Installing OpenShift Operator

This learning path is for operations teams or system administrators

Developers may want to check out Developing applications on OpenShift on developers.redhat.com.

Get started on developers.redhat.com

Hybrid Cloud Logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy, sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.