{"_id":"57acceed71d2991900b9a62f","user":"569d7767ec29360d00f667c7","version":{"_id":"57acceed71d2991900b9a62b","project":"570086efa565e20e001573b3","__v":1,"createdAt":"2016-08-11T19:15:57.383Z","releaseDate":"2016-08-11T19:15:57.383Z","categories":["57acceed71d2991900b9a62c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0.0"},"project":"570086efa565e20e001573b3","__v":0,"category":{"_id":"57acceed71d2991900b9a62c","version":"57acceed71d2991900b9a62b","project":"570086efa565e20e001573b3","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-03T02:58:55.770Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-28T00:07:49.739Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"***UPDATE: We have donated Localkube code to [Minikube](https://github.com/kubernetes/minikube), where it now forms the backbone of the official Kubernetes local development solution. We have stopped working on Localkube and highly recommend using Minikube as a local development solution.***\n\n[Localkube](http://github.com/redspread/localkube) is a fully networked Kubernetes 1.2 cluster that runs on your local machine and can be started with Spread in one command.\n\nIn order to use localkube, the following should be installed:\n* [Docker](https://docs.docker.com/engine/installation/)\n* [docker-machine](https://docs.docker.com/machine/install-machine/)\n* [VirtualBox](https://www.virtualbox.org/wiki/Downloads)\n* kubectl*\n\n(Note: For Mac and Windows users, the fastest way to install everything is [Docker Toolbox](https://www.docker.com/products/docker-toolbox).)\n\nTo use localkube:\n1. Create a machine called dev: `docker-machine create --driver virtualbox dev`\n2. Start your docker-machine: `docker-machine start dev`\n3. Connect to the docker daemon: `eval \"$(docker-machine env dev)\"`\n4. Spin up a local cluster using [localkube](http://github.com/redspread/localkube): `spread cluster start`\n5. To stop the cluster: `spread cluster stop`\n\n*For local development, it's useful to also install `kubectl`, the command line tool for interacting with the Kubernetes API. You can download `kubectl` from the Kubernetes release artifact site with the `curl` tool.\n\nLinux:\n<pre><code>$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.3/bin/linux/amd64/kubectl</code></pre>\n\nDarwin:\n<pre><code>$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.3/bin/darwin/amd64/kubectl</code></pre>\n\nAfter downloading the binary, ensure it is executable and move it into your PATH:\n\n<pre><code>$ chmod +x kubectl  \n$ mv kubectl /usr/local/bin/kubectl</code></pre>","excerpt":"This page will give you an overview of how to develop locally with Localkube.","slug":"local-development-with-localkube","type":"basic","title":"Local Development with Localkube"}

Local Development with Localkube

This page will give you an overview of how to develop locally with Localkube.

***UPDATE: We have donated Localkube code to [Minikube](https://github.com/kubernetes/minikube), where it now forms the backbone of the official Kubernetes local development solution. We have stopped working on Localkube and highly recommend using Minikube as a local development solution.*** [Localkube](http://github.com/redspread/localkube) is a fully networked Kubernetes 1.2 cluster that runs on your local machine and can be started with Spread in one command. In order to use localkube, the following should be installed: * [Docker](https://docs.docker.com/engine/installation/) * [docker-machine](https://docs.docker.com/machine/install-machine/) * [VirtualBox](https://www.virtualbox.org/wiki/Downloads) * kubectl* (Note: For Mac and Windows users, the fastest way to install everything is [Docker Toolbox](https://www.docker.com/products/docker-toolbox).) To use localkube: 1. Create a machine called dev: `docker-machine create --driver virtualbox dev` 2. Start your docker-machine: `docker-machine start dev` 3. Connect to the docker daemon: `eval "$(docker-machine env dev)"` 4. Spin up a local cluster using [localkube](http://github.com/redspread/localkube): `spread cluster start` 5. To stop the cluster: `spread cluster stop` *For local development, it's useful to also install `kubectl`, the command line tool for interacting with the Kubernetes API. You can download `kubectl` from the Kubernetes release artifact site with the `curl` tool. Linux: <pre><code>$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.3/bin/linux/amd64/kubectl</code></pre> Darwin: <pre><code>$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.2.3/bin/darwin/amd64/kubectl</code></pre> After downloading the binary, ensure it is executable and move it into your PATH: <pre><code>$ chmod +x kubectl $ mv kubectl /usr/local/bin/kubectl</code></pre>