Merge pull request #17552 from AlexChesser/fix-documentation-17519

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-24 03:41:14 -08:00
commit 5f193e7c47

View File

@ -40,6 +40,7 @@ Getting started locally
- [Docker](#docker)
- [etcd](#etcd)
- [go](#go)
- [Clone the repository](#clone-the-repository)
- [Starting the cluster](#starting-the-cluster)
- [Running a container](#running-a-container)
- [Running a user defined pod](#running-a-user-defined-pod)
@ -71,6 +72,14 @@ You need an [etcd](https://github.com/coreos/etcd/releases) in your path, please
You need [go](https://golang.org/doc/install) at least 1.3+ in your path, please make sure it is installed and in your ``$PATH``.
### Clone the repository
In order to run kubernetes you must have the kubernetes code on the local machine. Cloning this repository is sufficient.
```$ git clone --depth=1 https://github.com/kubernetes/kubernetes.git```
The `--depth=1` parameter is optional and will ensure a smaller download.
### Starting the cluster
In a separate tab of your terminal, run the following (since one needs sudo access to start/stop Kubernetes daemons, it is easier to run the entire script as root):