Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Windows antrea-agent without Hyper-V #1645

Closed
perithompson opened this issue Dec 10, 2020 · 3 comments
Closed

Run Windows antrea-agent without Hyper-V #1645

perithompson opened this issue Dec 10, 2020 · 3 comments
Assignees
Labels
area/OS/windows Issues or PRs related to the Windows operating system. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@perithompson
Copy link
Contributor

Describe the problem/challenge you have
HyperV cannot run on VMs where Nested Virtualisation is disabled and Public cloud providers only offer limited support for this scenario. Having the ability to run Antrea on any windows node, regardless of the Platform is essential for wide adoption and in order for that to be true Antrea needs to be able to run without the Hyper-V dependency.

Describe the solution you'd like
The ideal solution is to change Antrea and OVS so that it uses pure HNS Networking on windows and no longer requires a VMSwitch.

Anything else you would like to add?
When running windows containers in process isolation mode HyperV is no longer required, however, Antrea requires HyperV to be installed to support Hyper-V Virtual switches. I have been able to make this work without the Hyper V hypervisor being enabled by running bcdedit /set hypervisorlaunchtype off This works for getting around running in locations where nested Hypervisors are not possible but you are not able to install Hyper-V if nested virtualisation is disabled so the image would need to be built elsewhere and added to the runtime environment.

@perithompson perithompson added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 10, 2020
@jayunit100
Copy link
Contributor

xref, part of #331 @yasensim @ruicao93 @wenyingd

@yasensim
Copy link

Thanks for reporting this @perithompson and @jayunit100 . We plan to remove the dependency on Hyper-V. I will come back here when we have more clarity on timeline.

@ruicao93 ruicao93 self-assigned this Dec 13, 2020
@ruicao93 ruicao93 added the area/OS/windows Issues or PRs related to the Windows operating system. label Dec 21, 2020
@ruicao93
Copy link
Contributor

Thanks @perithompson and @jayunit100 , workaround works to install Hyper-V without CPU checking in doc:
#1744

Close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/OS/windows Issues or PRs related to the Windows operating system. kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants