Skip to content

Latest commit

 

History

385 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift Virtualization Cookbook

Build OpenShift 4.18+ License: MIT

Bite-sized, practical tutorials for deploying and managing virtualization workloads on Red Hat OpenShift Virtualization. This cookbook complements official training and documentation with hands-on guides, tested YAML manifests, and troubleshooting tips for partner and customer engineers.

Browse the live documentation

Content Overview

Module Topics
Getting Started Prerequisites, operator installation, creating VMs, virtctl CLI, VM lifecycle states, default storage class
Storage LVM Operator, storage classes, HostPath provisioner, multi-disk configuration, troubleshooting
Networking UDN primary networks, localnet, VLAN, Linux bridges, SR-IOV, static IPs, ingress routes, troubleshooting
VM Configuration Templates, node placement, hotplug volumes/interfaces, remote access (Linux/Windows), internal DNS, VirtIO drivers
Performance CPU pinning, NUMA/hugepages, real-time VMs, resource limits and QoS
VM Lifecycle Golden images, boot order/sources, snapshots, cloning, qcow2 import
API Component overview
Appendix Glossary and reference material

Prerequisites for Tutorial Users

To follow the tutorials you need:

  • An OpenShift 4.18+ cluster with the OpenShift Virtualization operator installed
  • The oc CLI authenticated to the cluster
  • The virtctl CLI (installation guide)
  • Basic familiarity with Kubernetes concepts (pods, namespaces, services)

Some tutorials have additional requirements (specific storage backends, network configurations, or multiple nodes). Each tutorial lists its own prerequisites at the top.

Compatibility

Component Version
OpenShift Container Platform 4.18+
OpenShift Virtualization Operator 4.18+
KubeVirt Bundled with OCP Virt operator
oc CLI Matching cluster version
virtctl CLI Matching operator version

Quick Start for Contributors

make setup         # Install all dependencies
make dev           # Start local preview at http://localhost:8080

Make your changes, then validate and submit:

make validate      # Run all checks (lint, build, links, review)
make pr            # Push and create PR

See CONTRIBUTING.md for the full contributor guide, including AsciiDoc conventions, testing, and the PR process.

Related Resources

Roadmap

Contributions are welcome -- open new issues for topics you'd like to see, or comment on existing issues to request prioritization. See docs/ROADMAP.md for quarterly themes, design principles, and how to view the live project board.

Problems and Feedback

Report bugs, suggestions, or improvements at https://github.com/RedHatQuickCourses/ocp-virt-cookbook/issues

Security

See SECURITY.md for reporting security vulnerabilities.

Code of Conduct

See CODE_OF_CONDUCT.md for community standards.

License

This project is licensed under the MIT License. See LICENSE for details.

Releases

Packages

Contributors

Languages