A bite-size approach reference project for deploying virtualization workloads for those who are just starting with OpenShift.
NOTE: This project is archived and has been migrated to a new repository: OCP Virt Cookbook
The new content can now be accessed at Red Hat Quick Courses - OCP Virt Cookbook
WARNING: This project DOES NOT replace the official OpenShift Virtualization training, which is highly recommended, nor the official documentation. Instead it is supposed to serve as a complement and a facilitator to partner and customer engineers just getting started.
- OpenShift 4.17+ cluster with OpenShift Virtualization operator
- CLI tools:
oc,kubectl,virtctl - Optional:
kustomize,helm,ansibledepending on chosen approach
- Setting UP Local Environment and Tools for OCP virtualization
- Virtctl basics
- Accessing Windows 11 VM on Red Hat OCP via RDP
- Transferring files to and from VMs
- Creating and Using your own custom VM images
- Shrinking large images
- Converting images to qcow2 format
- Creating your own custom template on OCP Virtualization
- Setting a Primary User Defined Network for your VMs
- Configuring secondary networks with layer 2 topology
- Setting up your VMs on the same network as your nodes using localnet topology
- Setting up your VMs on VLANs using localnet topology with NADs
- Setting up your VMs on VLANs using localnet topology with CUDN
- Setting up your VMs on VLANs, external or layer2-only networks (Linux Bridges)
- Setting VMs on Hardware Accelerated networks (SR-IOv)
- Configuring IP addresses through cloud-init
- Configuring a Default Storage Class for OCP Virtualization
- Creating Storage Profiles for OCP virtualization
- Using local storage with HostPath provisioner
- Creating Storage Classes
- Using local Storage with LVM operator
This project is licensed under the MIT License - see the LICENSE file for details.