mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #5077 from fabioy/doc-fixit
Update Vagrant starter guide.
This commit is contained in:
commit
ab58268d7e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user