This is a quick demo of the new virtualization feature in OpenShift
|
Warning
|
OpenShift Virtualization only supports bare metal at this time and this is only for demonstration purposes |
-
Install Openshit 4.5.4
-
Login as a cluster admin
-
Install OpenShift Virtualization
-
Goto the Operators > Operator
-
Search for OpentShift Virtualization
-
Install the operator
-
This demo was tested using version 2.4.0
-
-
Create the Hyper Convereged Cluster
-
Go to the Opertors > installed Operaters
-
Click on
CNV Operator Deploymentin theOpenShift Virtualizationrow -
Click 'Create HyperConverged Cluster' button
-
Leave defaults and Create
-
-
Verify all Pods in the
openshift-cnvproject are started. -
Turn on Emulation for AWS
-
Modify
kubevirt-configConfig Map in the openshift-cnv -
Add
debug.useEmulation:'true'under the data element
-
data: debug.useEmulation: 'true'
-
Create a new Projects
-
Click
Create Project -
Create a project with the name
a-vm -
This will also change your project context to 'a-vm'
-
Create a virtual machine
-
Goto Workloads > Virtualization
-
-
Click
Create Virtual Machinebutton, useNew with wizard-
Use the following settings
-
Name:
cirros -
Source:
URL -
URL:
http://download.cirros-cloud.net/0.5.1/cirros-0.5.1-x86_64-disk.img -
Operating System: 'Fedora 31 or higher'
-
Favor: 'Small'
-
Workload Profile: 'desktop'
-
-
Click
Review and createbutton -
Click
Start virtual machine on creationand ` Creaste Virtual Machine`
-
-
Wait for the vm’s status to be running
-
Go to the console tab
-
When prompted loging with the user
cirrosand passwordgocubsgo
-
Twitch video on OpenShift Virtualization