Skip to content

[Enhancement] Windows Server Support #3415

Open
@adrianriobo

Description

With the introduction of user network mode, Openshift Local remove the constraint on setup a vswitch to route communication within the machine. That constraint was the main reason to pick only Windows 10 Professional as a valid supported version.

Now the support can be extended to any Windows version which supports hyper-v feature.

Currently, install Openshift Local on a Windows Server, which already has hyper-v and its management tools enabled, works out of the box.

On other systems where hyper-v is not enable yet, Openshift Local installation should fix it by enabling/installing the feature. Currently the installer command to enable hyper-v only works with Workstations.

Here we can see the different cmdlets to handle it based on product type:

Workstations

Get-ComputerInfo | select OSProductType
OsProductType
-------------
  WorkStation

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart

Servers

PS C:\Windows\system32> Get-ComputerInfo | select OSProductType

OsProductType
-------------
       Server

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools

Fix

The installer script can get information on the product type and set the cmdlet accordingly, with this in place we could evaluate if we can agreed on support windows server versions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions