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.
Before you begin
-
Ensure you have the required permissions:
- Operator role for IBM Cloud Kubernetes Service
- Editor or Administrator role for VPC Infrastructure Services
-
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
dfor local NVME storage)
For detailed VPC setup instructions, see Create or verify your VPC setup.
Create a Virtualization Service cluster
-
Log in to the IBM Cloud console.
-
Navigate to Infrastructure > OpenShift Virtualization.
-
Click Create cluster.
-
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)
-
Select the OpenShift version (4.21 or later is automatically selected).
-
Configure Virtualization integrations:
- OpenShift Virtualization operator
- Required. Automatically configured with default settings. Creates and maintains OpenShift Virtualization Deployment.
- Advanced Cluster Management (ACM)
- Optional. Configure this cluster as the ACM hub cluster to control and monitor other Kubernetes clusters.
- OpenShift Data Foundation (ODF)
- Recommended. Provides persistent storage for VMs. Configured with default settings.
- File Storage for VPC
- Beta: Alternative to ODF. Provides file storage backed by VPC infrastructure.
You must select at least one storage option (ODF or File Storage for VPC).
-
Select your Virtual private cloud (or create a new one if needed).
-
Configure the Location. Choose your worker zones and configure your subnets. Select at least 3 zones for high availability. For each zone, you can edit the automatically selected subnet as needed.
-
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
- Flavor: Select a bare metal flavor with local NVME storage (e.g.,
-
Configure Networking (optional):
- Network settings: Choose private & public endpoints (default) or private only
- Internal registry: Select a Cloud Object Storage instance
-
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
-
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
- Cluster name: Enter a unique name (e.g.,
-
Review the Integrations section and verify that the OpenShift Virtualization operator and any selected add-ons are listed.
-
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
-
In the IBM Cloud console, navigate to OpenShift > Clusters.
-
Click your cluster name to view details.
-
Wait until the cluster Status shows Normal and Master status shows Ready.
-
Click OpenShift web console to access the cluster interface.
Verify pre-configured components
-
In the OpenShift web console, navigate to Ecosystem > Installed Operators.
-
Verify that the OpenShift Virtualization operator shows a status of Succeeded.
-
Navigate to Ecosystem > Installed Operators.
-
Verify that the OpenShift Data Foundation operator has a status of Succeeded. This can take a few minutes to complete.
-
Navigate to Storage > Data Foundation.
-
Verify that the storage system shows Resiliency of Healthy.
-
Navigate to Storage > StorageClasses.
-
Verify that multiple OCS storage classes are available, including ocs-storagecluster-ceph-rbd-virtualization, which should be indicated as the default for VirtualMachines.
Deploy your first virtual machine
-
In the OpenShift console, click Virtualization in the left navigation menu.
-
Click VirtualMachines.
-
Click Create VirtualMachine.
-
Select From template to use a pre-configured template.
-
Choose a template such as Fedora or CentOS Stream.
-
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)
- Name: Enter a name for your VM (e.g.,
-
Click Create VirtualMachine.
-
In the VM details page, click Start to start the VM.
-
Monitor the VM status until it shows Running.
-
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.