Use the KubeVirt virtual shell virtctl and OpenShift CLI
openshift-cli to install your BlueCat virtual machine in OpenShift
using the command line.
Before you begin, ensure that you have the following:
- You have access to an OpenShift cluster with KubeVirt installed
- You have the following tools installed and configured:
- OpenShift CLI (
openshift-cli) - KubeVirt virtual shell (
virtctl)
- OpenShift CLI (
- You are logged in to the cluster
oc login - You have created a namespace or project. For more information, refer to https://docs.redhat.com/en/documentation/openshift_container_platform/4.8/html/building_applications/projects
- You have a storage class available. For more information, refer to https://docs.redhat.com/en/documentation/red_hat_openshift_container_storage/4.6/html/managing_and_allocating_storage_resources/storage-classes-and-storage-pools_rhocs
- You have networking and VLANs are configured. For more information, refer to https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/networking/multiple-networks
- You have downloaded the BlueCat KVM VM image and MD5 file
Additionally, ensure that you have created a project and the relevant VLANs in OpenShift for your VM to use. and .
To install VMs in OpenShift using the command
line:
This completes the installation of your virtual machine in
an OpenShift environment.