From da214a95179fc10f3dcb6e1547471494319188a5 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Sun, 2 Nov 2014 19:27:43 -0800 Subject: [PATCH] Add net-tools pre-req to Vagrant instructions Adds a note mentioning that `net-tools` are required for bridging VirtualBox's host networks. Added a similar note under the troubleshooting section. --- docs/getting-started-guides/vagrant.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/getting-started-guides/vagrant.md b/docs/getting-started-guides/vagrant.md index 38ce5ed21ff..551ee28c873 100644 --- a/docs/getting-started-guides/vagrant.md +++ b/docs/getting-started-guides/vagrant.md @@ -3,7 +3,8 @@ ### 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. Get or build a [binary release](binary_release.md) +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 @@ -277,6 +278,10 @@ If this is your first time creating the cluster, the kubelet on each minion sche Are you sure there was no build error? After running `$ vagrant provision`, scroll up and ensure that each Salt state was completed successfully on each box in the cluster. It's very likely you see a build error due to an error in your source files! +#### I have brought Vagrant up but the minions won't validate ! + +Are you sure you built a release first? Did you install `net-tools`? For more clues, login to one of the minions (`vagrant ssh minion-1`) and inspect the salt minion log (`sudo cat /var/log/salt/minion`). + #### I want to change the number of minions ! You can control the number of minions that are instantiated via the environment variable `KUBERNETES_NUM_MINIONS` on your host machine. If you plan to work with replicas, we strongly encourage you to work with enough minions to satisfy your largest intended replica size. If you do not plan to work with replicas, you can save some system resources by running with a single minion. You do this, by setting `KUBERNETES_NUM_MINIONS` to 1 like so: