From e09f49cefe99d6db3e28921e321208b77540f1a4 Mon Sep 17 00:00:00 2001 From: Joerg Schad Date: Fri, 15 Feb 2019 12:51:12 -0800 Subject: [PATCH] Unified driver usage instructions. --- docs/drivers.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/drivers.md b/docs/drivers.md index 4e303387e5b4..810a75e8e953 100644 --- a/docs/drivers.md +++ b/docs/drivers.md @@ -85,12 +85,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. @@ -113,7 +125,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