From 7b03bc5530868da2bec379f1919bdeb00bd87a2d Mon Sep 17 00:00:00 2001 From: Matt Rickard Date: Tue, 13 Dec 2016 10:56:21 -0800 Subject: [PATCH] Update kubectl installation instructions Move hyper-v warning to Known issues. --- DRIVERS.md | 3 +++ README.md | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/DRIVERS.md b/DRIVERS.md index 503503cc4a..298e4250bc 100644 --- a/DRIVERS.md +++ b/DRIVERS.md @@ -46,3 +46,6 @@ $ brew install docker-machine-driver-xhyve $ sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve $ sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve ``` +#### 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. diff --git a/README.md b/README.md index 752ae9383a..bd9970b865 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,11 @@ Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a * [xhyve driver](./DRIVERS.md#xhyve-driver), [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or [VMware Fusion](https://www.vmware.com/products/fusion) installation * Linux * [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or [KVM](http://www.linux-kvm.org/) installation, +* Windows + * [Hyper-V](./DRIVERS.md#hyperv-driver) * VT-x/AMD-v virtualization must be enabled in BIOS * `kubectl` must be on your path. Minikube currently supports any version of `kubectl` greater than 1.0, but we recommend using the most recent version. - You can install kubectl with [these steps](http://kubernetes.io/docs/getting-started-guides/minikube/#install-kubectl). - 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. - - + You can install kubectl with [these steps](http://kubernetes.io/docs/getting-started-guides/kubectl/). ### Instructions @@ -327,6 +326,7 @@ $ minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT \ * Features that require multiple nodes. These include: * Advanced scheduling policies + ## Design Minikube uses [libmachine](https://github.com/docker/machine/tree/master/libmachine) for provisioning VMs, and [localkube](https://github.com/kubernetes/minikube/tree/master/pkg/localkube) (originally written and donated to this project by [RedSpread](https://redspread.com/)) for running the cluster.