Embracing the Future with OpenShift Virtualization

Randula Wijesinghe
5 min readJan 26, 2024
link — Reference

OpenShift Virtualization is a transformative feature within the Red Hat OpenShift platform, designed to run and manage virtual machine (VM) workloads alongside container workloads.

This integration is achieved using the KubeVirt project, which extends Kubernetes by introducing additional virtualization resource types through Kubernetes’ Custom Resource Definitions (CRDs).

OpenShift Virtualization effectively combines the capabilities of traditional VM-based approaches with the modern, cloud-native environment of OpenShift, providing a unified platform for modernized applications and services originally architected for VMs.

Ref Link

Why migrate to OpenShift Virtualization?

1. Unified Application Delivery on a Singular Platform

  • OpenShift virtualization stands out for its ability to bring together various types of workloads, such as VMs, containers, and serverless components, onto a single platform.
  • This platform empowers development teams by providing them with the flexibility to design, deploy, and integrate application services using the latest automation tools, CI/CD methodologies, and streamlined workflows.
  • Importantly, it ensures that all these processes adhere to the operational standards and quality benchmarks demanded by the industry.

2. Gradual Transformation from VMs to Containers:

  • Many enterprises have made significant investments in virtual machines (VMs), the applications they support, and the infrastructure required to maintain them.
  • Switching from VM-based applications to container-based ones is not always a straightforward or rapid process. OpenShift virtualization offers a practical and phased strategy for modernizing VM-based applications.
  • This approach allows organizations to transition applications in a measured way, ensuring they can be effectively managed alongside cutting-edge Kubernetes offerings and a wide array of open-source cloud-native technologies.
  • Moreover, OpenShift virtualization is particularly valuable for applications deeply entrenched in VMs due to their complexity or anticipated lifespan. These applications can continue to operate in their VM state until the right moment for containerization arrives or they naturally phase out.

3. Embracing VM Workloads within OpenShift:

  • When migrating to OpenShift, it’s not just about modernization; it’s also about accommodating your existing Linux and Windows-based VM workloads.
  • OpenShift virtualization is designed to cater to a broad spectrum of operating systems, including legacy versions, and transform them into native Kubernetes-managed entities.
  • The platform offers a user-friendly Import Virtual Machine wizard, which streamlines the transition of VMs from various environments like vSphere, Red Hat virtualization, and Red Hat OpenStack Platform.
  • What’s more, OpenShift’s import functionality extends to the integration of reusable templates that can be used for immediate deployment or for creating new VMs via its comprehensive virtualization management interface. This ensures a seamless and adaptable approach to handling VM workloads within OpenShift.

VMWare to Openshift Virtualization Migration

Critical Factors to Consider Before Migration

  1. Assessment of Workloads and Dependencies: Evaluate the workloads running on VMware to determine which ones are suitable for migration. This includes understanding the dependencies, both internal and external, and how they will be managed within the OpenShift environment. Analyze the performance metrics and resource utilization of your VMs to right-size them for containerization.
  2. Compatibility and Integration: Ensure that the applications and services running on the VMs are compatible with containerized environments. This may involve refactoring or redesigning applications to fit into a microservices architecture. Additionally, consider the integration points with other systems and how these will be managed in OpenShift.
  3. Networking and Storage Considerations: OpenShift has its own software-defined networking and storage solutions that may differ from VMware’s. Plan for the migration of networking policies, storage volumes, and persistent data ensuring there is no data loss and that performance requirements are met.
  4. Security and Compliance: OpenShift has a different security model compared to VMware, which is typically integrated with Kubernetes’ role-based access control (RBAC). You need to translate your current security policies into OpenShift’s security context and ensure they meet your compliance requirements. This also includes the management of secrets, certificates, and other sensitive information.
  5. Operational Changes and Skillset Transformation: Migrating to OpenShift Virtualization involves changes to operational procedures and potentially the skillsets required by your team. It’s crucial to plan for training and development to get your staff up to speed with Kubernetes and container orchestration concepts. Additionally, update your operational and incident management procedures to reflect the new environment.

Comparison from VMWare Components to Openshift

Migration ToolKits — For Smooth Migration

Openshift Platform provides an Effective Migration Step-by-Step process for direct import — ( Example from VMware ).

Reference — Link

More Advanced — Efficient Migration with Migration Toolkit for Virtualization

The Red Hat Migration Toolkit for Virtualization (MTV) is fully compatible with both VMware vSphere and Red Hat Virtualization (RHV), facilitating migrations to OpenShift. In its latest version, 2.4, MTV expands its capabilities with a Technology Preview feature for migrations originating from OpenStack. This addition responds to the evolving needs and feedback of customers.

More details — MTV 2.4,

Creating Migration Plan

Reference Link

Monitoring on Migration

Reference Link

Whats next ?

After successfully migrating to OpenShift Virtualization, organizations can chart a future course that leverages the full spectrum of cloud-native capabilities. This journey typically unfolds across several strategic and operational dimensions:

  1. Container-First Strategy: Embracing a container-first strategy will become the cornerstone for developing and deploying applications. This involves prioritizing containerization for all new applications and selectively for existing ones, streamlining operations, and reducing the time-to-market for new features and services.
  2. Microservices Architecture Adoption: The roadmap will likely include a transition to microservices architectures, enabling teams to develop, deploy, and manage services independently. This architectural style boosts resilience and offers the flexibility to use the best technology stack for each service.
  3. Advanced Automation and Orchestration: With OpenShift’s robust automation features, the focus will be on refining CI/CD pipelines and deployment strategies. Kubernetes Operators will play a significant role in automating complex tasks like updates, backups, and scaling.
  4. Enhanced Developer Experience: The future will focus on improving the developer experience with self-service provisioning, on-demand resource allocation, and streamlined development workflows, all supported by OpenShift’s integrated environment.
  5. Integration of Emerging Technologies: Organizations will explore and integrate emerging technologies such as serverless computing, artificial intelligence (AI), machine learning (ML) workloads, and Internet of Things (IoT) applications within the OpenShift environment.

As you embark on your migration journey, I wish you a seamless transition. Should you require further insights or assistance, please feel free to reach out for more details.. Cheers !

--

--