Hardware setup for OpenShift Local and Hyper-V

In this article, we will outline the necessary hardware requirements for running OpenShift Local on Windows 11 and provide a step-by-step guide to setting up Hyper-V with an external switch. This setup will enable your virtual machines (VMs) to access the internet and external networks, preparing your environment for deploying containerized applications.

Hardware Requirements

In the previous article I discussed the requirements.  https://www.kecklers.com/setting-up-openshift-local-on-windows-11-with-hyper-v/  Here it is again:

  • 4 virtual CPUs
  • 10.5 GB memory minimum – best to use at least 12GB
  • 35 GB of storage space
    • This is the minimum. I recommend allocating more space if you plan to do more than what is demonstrated here.
    • Adjust this by issuing CRC config commands before running the crc start command.

Detailed Hardware Requirements

The following is the hardware I am using on my desktop to setup Hyper-V and house the OpenShift Local VM

  • Operating System: Windows 11 PRO (Windows Home Edition is not supported)
  • CPU: Intel® Core™ i7-4700F, 21MHz, 20 Core(s), 28 Logical Processor(s)
  • Memory: 64GB
  • Storage: 2TB drive

Step-by-Step Setup

Step 1: Enable Hyper-V

  1. Press Windows + R, type optionalfeatures.exe, and press Enter.
  2. In the Windows Features dialog, check the box for Hyper-V and click OK.
  3. Restart your computer.

Step 2: Create an External Virtual Switch

  1. Open Hyper-V Manager by pressing Windows + R, typing virtmgmt.msc, and pressing Enter.
  2. In the Actions pane, select Virtual Switch Manager.
  3. Select External and click Create Virtual Switch.
  4. Name the switch (e.g., “External Switch”) and select the network adapter that is connected to your physical network.
  5. Ensure the checkbox “Allow management operating system to share this network adapter” is checked.
  6. Click Apply and then OK.

By following these steps, you can ensure your Hyper-V environment is properly configured with an external virtual switch, allowing your VMs to access the internet. This foundational setup is crucial for running OpenShift Local efficiently and preparing for advanced containerized application deployments. The hardware I am using is more than enough, but you are dealing with a Windows setup, not Linux. More is better. bhad bhabie age