Quickstart: Creating a Virtualization Service cluster from the console

Virtual Private Cloud 4.21 and later Bare metal worker nodes only

Get started quickly with OpenShift Virtualization Service by creating a pre-configured cluster using the IBM Cloud console. This quickstart focuses on the fastest path to deploying virtual machines using only the console interface.

This service is currently available as a beta release. Access is controlled by an allowlist. During the beta period, only console-based cluster creation is supported.

Before you begin

  1. Ensure you have the required permissions:

    • Operator role for IBM Cloud Kubernetes Service
    • Editor or Administrator role for VPC Infrastructure Services
  2. Verify that your VPC infrastructure meets the requirements, or be prepared to create the necessary resources:

    • A VPC in your target region
    • Subnets in at least 3 zones for high availability (256 IP addresses recommended per subnet)
    • Bare metal capacity available in your selected zones (flavors ending in d for local NVME storage)

For detailed VPC setup instructions, see Create or verify your VPC setup.

Create a Virtualization Service cluster

  1. Log in to the IBM Cloud console.

  2. Navigate to Infrastructure > OpenShift Virtualization.

  3. Click Create cluster.

  4. Review the pre-configured cluster settings (automatically configured, cannot be changed):

    • Orchestrator: Red Hat OpenShift on IBM Cloud
    • Infrastructure: VPC
    • Machine type: Bare metal
    • Operating system: Red Hat CoreOS (RHCOS)
    • Networking plugin: Open Virtual Network (OVN-Kubernetes)
  5. Select the OpenShift version (4.21 or later is automatically selected).

  6. Configure Virtualization integrations:

    OpenShift Virtualization operator
    Automatically enabled and required for running virtual machines.
    OpenShift Data Foundation
    Recommended. Enable with default settings to provide persistent storage for VMs.
    Advanced Cluster Management
    Optional. Can be configured later for multi-cluster management.
  7. Select your Virtual private cloud (or create a new one if needed).

  8. Configure the Location:

    • Worker zones: Select at least 3 zones for high availability
    • Subnets: For each zone, choose the corresponding subnet
  9. Configure the Worker pool:

    • Flavor: Select a bare metal flavor with local NVME storage (e.g., bx2d.metal.96x384)
    • Worker nodes per zone: Specify at least 3 for high availability
  10. Configure Networking (optional):

    • Network settings: Choose private & public endpoints (default) or private only
    • Internal registry: Select a Cloud Object Storage instance
  11. Configure Security settings (optional):

    • Cluster encryption: Enable KMS for encrypting secrets
    • Ingress secrets management: Register Secrets Manager instance
    • VPC security groups: Apply custom security groups
  12. Configure Cluster details:

    • Cluster name: Enter a unique name (e.g., my-vs-cluster)
    • Resource group: Select a resource group
    • Tags: Optional - add tags for organization
  13. Review the estimated cost and click Create.

The cluster typically takes 30-45 minutes to provision. You can monitor the progress in the console.

Access the OpenShift console

  1. In the IBM Cloud console, navigate to OpenShift > Clusters.

  2. Click your cluster name to view details.

  3. Wait until the cluster Status shows Normal and Master status shows Ready.

  4. Click OpenShift web console to access the cluster interface.

Verify pre-configured components

  1. In the OpenShift web console, navigate to Operators > Installed Operators.

  2. Select the openshift-cnv project from the dropdown.

  3. Verify that the OpenShift Virtualization operator shows a status of Succeeded.

  4. Click the operator name and navigate to the HyperConverged tab.

  5. Verify that the HyperConverged resource shows a Phase of Deployed.

  6. Navigate to Storage > Data Foundation.

  7. Verify that the storage system shows a status of Ready.

  8. Navigate to Storage > StorageClasses.

  9. Verify that multiple OCS storage classes are available, including:

    • ocs-storagecluster-ceph-rbd
    • ocs-storagecluster-ceph-rbd-virtualization (recommended for VMs)
    • ocs-storagecluster-cephfs

Deploy your first virtual machine

  1. In the OpenShift console, click Virtualization in the left navigation menu.

  2. Click VirtualMachines.

  3. Click Create VirtualMachine.

  4. Select From template to use a pre-configured template.

  5. Choose a template such as Fedora or CentOS Stream.

  6. Configure the VM:

    • Name: Enter a name for your VM (e.g., my-first-vm)
    • Storage class: Select ocs-storagecluster-ceph-rbd-virtualization
    • CPU: Adjust as needed (default is usually sufficient)
    • Memory: Adjust as needed (default is usually sufficient)
  7. Click Create VirtualMachine.

  8. In the VM details page, click Start to start the VM.

  9. Monitor the VM status until it shows Running.

  10. Click the Console tab to access the VM console.

You now have a running virtual machine on your Virtualization Service cluster!

Next steps

Troubleshooting

Cluster creation fails
Verify that bare metal capacity is available in your selected zones. Try a different zone or contact IBM Cloud support.
Cannot access OpenShift console
Wait for the cluster master status to show Ready. This can take up to 45 minutes.
Virtual machine fails to start
  • Verify that OpenShift Data Foundation is in Ready state
  • Check that you selected a valid storage class
  • Ensure sufficient resources are available in your cluster

For more troubleshooting guidance, see Troubleshooting OpenShift Virtualization.