Skip to content

Commit

Permalink
Merge pull request #3690 from joerg84/unified-instructions
Browse files Browse the repository at this point in the history
Added and unified driver usage instructions.
  • Loading branch information
tstromberg authored Feb 16, 2019
2 parents 890974b + e09f49c commit b26a8c7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/drivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,24 @@ If you are using [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) in you

*Note: If `dnsmasq.conf` contains `listen-address=127.0.0.1` kubernetes discovers dns at 127.0.0.1:53 and tries to use it using bridge ip address, but dnsmasq replies only to requests from 127.0.0.1*

To use the driver:

```shell
minikube start --vm-driver hyperkit
```

#### HyperV driver

Hyper-v users may need to create a new external network switch as described [here](https://docs.docker.com/machine/drivers/hyper-v/). This step may prevent a problem in which `minikube start` hangs indefinitely, unable to ssh into the minikube virtual machine. In this add, add the `--hyperv-virtual-switch=switch-name` argument to the `minikube start` command.

On some machines, having **dynamic memory management** turned on for the minikube VM can cause problems of unexpected and random restarts which manifests itself in simply losing the connection to the cluster, after which `minikube status` would simply state `stopped`. Machine restarts are caused due to following Hyper-V error: `The dynamic memory balancer could not add memory to the virtual machine 'minikube' because its configured maximum has been reached`. **Solution**: turned the dynamic memory management in hyper-v settings off (and allocate a fixed amount of memory to the machine).

To use the driver:

```shell
minikube start --vm-driver hyperv --hyperv-virtual-switch=switch-name
```

#### VMware unified driver

The VMware unified driver will eventually replace the existing vmwarefusion driver.
Expand All @@ -114,7 +126,7 @@ export LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://github.
&& mv docker-machine-driver-vmware /usr/local/bin/
```

To use the driver you would do:
To use the driver:

```shell
minikube start --vm-driver vmware
Expand Down

0 comments on commit b26a8c7

Please sign in to comment.