From 385f8147754056a26b246b83f345265e9af6c96b Mon Sep 17 00:00:00 2001 From: Fabio Yeon Date: Wed, 4 Mar 2015 16:04:00 -0800 Subject: [PATCH] Update Vagrant starter guide. --- docs/getting-started-guides/vagrant.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/getting-started-guides/vagrant.md b/docs/getting-started-guides/vagrant.md index 314f9ec5d12..659439c0a99 100644 --- a/docs/getting-started-guides/vagrant.md +++ b/docs/getting-started-guides/vagrant.md @@ -1,14 +1,15 @@ ## Getting started with Vagrant +Running kubernetes with Vagrant (and VirtualBox) is an easy way to run/test/develop on your local machine (Linux, Mac OS X). + ### Prerequisites 1. Install latest version >= 1.6.2 of vagrant from http://www.vagrantup.com/downloads.html 2. Install latest version of Virtual Box from https://www.virtualbox.org/wiki/Downloads -3. Install the `net-tools` package for your distribution for VirtualBox's private networks. 4. Get or build a [binary release](binary_release.md) ### Setup -By default, the Vagrant setup will create a single kubernetes-master and 1 kubernetes-minion. Each VM will take 512 MB, so make sure you have at least 2 GB of free memory. To start your local cluster, open a shell and run: +By default, the Vagrant setup will create a single kubernetes-master and 1 kubernetes-minion. Each VM will take 1 GB, so make sure you have at least 2GB to 4GB of free memory (plus appropriate free disk space). To start your local cluster, open a shell and run: ``` cd kubernetes @@ -65,7 +66,7 @@ With your Kubernetes cluster up, you can manage the nodes in your cluster with t To push updates to new Kubernetes code after making source changes: ``` -vagrant provision +cluster/kube-push.sh ``` To stop and then restart the cluster: