Skip to content

Commit 8dbfa57

Browse files
committed
1 parent c7dce40 commit 8dbfa57

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

chapters/docker-setup.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,13 @@ export KUBERNETES_PROVIDER=vagrant
121121
cd kubernetes
122122
./cluster/kube-up.sh
123123
```
124-
124+
+
125+
NOTE: Vagrant provider should be included in the path. For example, for VirtualBox, `vboxmanage` command should work from the shell or command prompt where `./cluster/kube-up.sh` script is invoked.
126+
+
127+
If you installed more than one Vagrant provider (such as VirtualBox and Parallels), Kubernetes will usually pick the appropriate one. You can override which one Kubernetes will use by setting the VAGRANT_DEFAULT_PROVIDER environment variable:
128+
+
129+
```console
130+
export VAGRANT_DEFAULT_PROVIDER=virtualbox
131+
export KUBERNETES_PROVIDER=vagrant
132+
./cluster/kube-up.sh
133+
```

readme.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,28 @@ <h3 id="Kubernetes_Setup">Kubernetes</h3>
860860
./cluster/kube-up.sh</code></pre>
861861
</div>
862862
</div>
863+
<div class="admonitionblock note">
864+
<table>
865+
<tr>
866+
<td class="icon">
867+
<div class="title">Note</div>
868+
</td>
869+
<td class="content">
870+
Vagrant provider should be included in the path. For example, for VirtualBox, <code>vboxmanage</code> command should work from the shell or command prompt where <code>./cluster/kube-up.sh</code> script is invoked.
871+
</td>
872+
</tr>
873+
</table>
874+
</div>
875+
<div class="paragraph">
876+
<p>If you installed more than one Vagrant provider (such as VirtualBox and Parallels), Kubernetes will usually pick the appropriate one. You can override which one Kubernetes will use by setting the VAGRANT_DEFAULT_PROVIDER environment variable:</p>
877+
</div>
878+
<div class="listingblock">
879+
<div class="content">
880+
<pre class="highlight"><code class="language-console" data-lang="console">export VAGRANT_DEFAULT_PROVIDER=virtualbox
881+
export KUBERNETES_PROVIDER=vagrant
882+
./cluster/kube-up.sh</code></pre>
883+
</div>
884+
</div>
863885
</li>
864886
</ol>
865887
</div>

0 commit comments

Comments
 (0)