minikube/site/content/en/docs/drivers/hyperv.md

28 lines
1.3 KiB
Markdown
Raw Normal View History

2019-08-08 23:24:38 +00:00
---
title: "hyperv"
weight: 2
aliases:
- /docs/reference/drivers/hyperv
2019-08-08 23:24:38 +00:00
---
## Overview
2020-04-21 20:37:53 +00:00
[Hyper-V](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/) is a native hypervisor built in to modern versions of Microsoft Windows.
2019-08-08 23:24:38 +00:00
{{% readfile file="/docs/drivers/includes/hyperv_usage.inc" %}}
2019-08-08 23:24:38 +00:00
## Special features
2019-08-08 23:30:24 +00:00
The `minikube start` command supports additional hyperv specific flags:
2019-08-08 23:24:38 +00:00
2020-04-21 20:37:53 +00:00
* **`--hyperv-virtual-switch`**: Name of the virtual switch the minikube VM should use. Defaults to first found
* **`--hyperv-use-external-switch`**: Use external virtual switch over Default Switch if virtual switch not explicitly specified, creates a new one if not found. If the adapter is not specified, the driver first looks up LAN adapters before other adapters (WiFi, ...). Or the user may specify an adapter to attach to the external switch. Default false
2020-04-22 08:05:42 +00:00
* **`--hyperv-external-adapter`**: External adapter on which the new external switch is created if no existing external switch is found. Since Windows 10 only allows one external switch for the same adapter, it finds the virtual switch before creating one. The external switch is created and named "minikube"
2019-08-08 23:24:38 +00:00
## Issues
Also see [co/hyperv open issues](https://github.com/kubernetes/minikube/labels/co%2Fhyperv)
## Troubleshooting
* Run `minikube start --alsologtostderr -v=7` to debug crashes