×

You can create virtual machines (VMs) from instance types by using the OpenShift Container Platform web console.

Creating a VM from an instance type is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.

Creating a VM from an instance type

You can create a virtual machine (VM) from an instance type by using the OpenShift Container Platform web console.

Procedure
  1. In the web console, navigate to VirtualizationCatalog and click the InstanceTypes tab.

  2. Select a bootable volume.

    The volume table only lists volumes in the openshift-virtualization-os-images namespace that have the instancetype.kubevirt.io/default-preference label.

  3. Click an instance type tile and select the configuration appropriate for your workload.

  4. If you have not already added a public SSH key to your project, click the edit icon beside Authorized SSH key in the VirtualMachine details section.

  5. Select one of the following options:

    • Use existing: Select a secret from the secrets list.

    • Add new:

      1. Browse to the public SSH key file or paste the file in the key field.

      2. Enter the secret name.

      3. Optional: Select Automatically apply this key to any new VirtualMachine you create in this project.

      4. Click Save.

  6. Optional: Click View YAML & CLI to view the YAML file. Click CLI to view the CLI commands. You can also download or copy either the YAML file contents or the CLI commands.

  7. Click Create VirtualMachine.

After the VM is created, you can monitor the status on the VirtualMachine details page.