|
| 1 | +# Booting Kubernetes Using Minikube |
| 2 | + |
| 3 | +This guide will walk you through the process of installing a small development |
| 4 | +Kubernetes cluster on your local machine using [minikube](https://github.com/kubernetes/minikube). |
| 5 | + |
| 6 | +## Pre-requisites |
| 7 | + |
| 8 | +* OS X |
| 9 | + * [xhyve driver](https://github.com/kubernetes/minikube/blob/master/DRIVERS.md#xhyve-driver), [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or [VMware Fusion](https://www.vmware.com/products/fusion) installation |
| 10 | +* Linux |
| 11 | + * [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or [KVM](http://www.linux-kvm.org/) installation |
| 12 | +* Windows |
| 13 | + * [Hyper-V](https://github.com/kubernetes/minikube/blob/master/DRIVERS.md#hyperv-driver) |
| 14 | +* VT-x/AMD-v virtualization must be enabled in BIOS |
| 15 | +* The most recent version of `kubectl`. You can install kubectl following |
| 16 | + [these steps](https://kubernetes.io/docs/user-guide/prereqs/). |
| 17 | +* Internet connection |
| 18 | + * You will need a decent internet connection running `minikube start` for the first time for |
| 19 | + Minikube to pull its Docker images. It might take Minikube some time to start. |
| 20 | + |
| 21 | +## Download and Unpack Minikube |
| 22 | + |
| 23 | +See the installation instructions for the |
| 24 | +[latest release of minikube](https://github.com/kubernetes/minikube/releases). |
| 25 | + |
| 26 | +## Boot Your First Cluster |
| 27 | + |
| 28 | +We are now ready to boot our first Kubernetes cluster using Minikube! |
| 29 | + |
| 30 | +``` |
| 31 | +$ minikube start --disk-size=60g --memory=4096 |
| 32 | +Starting local Kubernetes cluster... |
| 33 | +Kubectl is now configured to use the cluster. |
| 34 | +``` |
| 35 | + |
| 36 | +Now that the cluster is up and ready, `minikube` automatically configures `kubectl` on your machine |
| 37 | +with the appropriate authentication and endpoint information. |
| 38 | + |
| 39 | +``` |
| 40 | +$ kubectl cluster-info |
| 41 | +Kubernetes master is running at https://192.168.99.100:8443 |
| 42 | +KubeDNS is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kube-dns |
| 43 | +kubernetes-dashboard is running at https://192.168.99.100:8443/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard |
| 44 | +
|
| 45 | +To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. |
| 46 | +``` |
| 47 | + |
| 48 | +You are now ready to [install Deis Workflow](install-minikube.md) |
0 commit comments