mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Misc. doc updates: Go setup, ssh reqd. on GCE, etcd reqd. for local, moved community links to wiki
This commit is contained in:
@@ -5,12 +5,13 @@
|
||||
1. You need a Google Cloud Platform account with billing enabled. Visit
|
||||
[http://cloud.google.com/console](http://cloud.google.com/console) for more details.
|
||||
2. Make sure you can start up a GCE VM. At least make sure you can do the [Create an instance](https://developers.google.com/compute/docs/quickstart#addvm) part of the GCE Quickstart.
|
||||
3. You need to have the Google Storage API, and the Google Storage JSON API enabled.
|
||||
4. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org).
|
||||
5. You must have the [`gcloud` components](https://developers.google.com/cloud/sdk/) installed.
|
||||
6. Ensure that your `gcloud` components are up-to-date by running `gcloud components update`.
|
||||
7. Install godep (optional, only required when modifying package dependencies). [Instructions here](https://github.com/GoogleCloudPlatform/kubernetes#installing-godep)
|
||||
8. Get the Kubernetes source:
|
||||
3. Make sure you can ssh into the VM without interactive prompts. You'll need to set up a ssh key and expose port 22 in the firewall if you choose to use a network other than the default network (`gcutil addfirewall --description "SSH allowed from anywhere" --allowed=tcp:22 default-ssh`)
|
||||
4. You need to have the Google Storage API, and the Google Storage JSON API enabled.
|
||||
5. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org).
|
||||
6. You must have the [`gcloud` components](https://developers.google.com/cloud/sdk/) installed.
|
||||
7. Ensure that your `gcloud` components are up-to-date by running `gcloud components update`.
|
||||
8. Install godep (optional, only required when modifying package dependencies). [Instructions here](https://github.com/GoogleCloudPlatform/kubernetes#installing-godep)
|
||||
9. Get the Kubernetes source:
|
||||
* Kubernetes 0.2 \[[.tar.gz](https://github.com/GoogleCloudPlatform/kubernetes/archive/v0.2.tar.gz)\] \[[.zip](https://github.com/GoogleCloudPlatform/kubernetes/archive/v0.2.zip)\]
|
||||
|
||||
### Setup
|
||||
|
@@ -2,11 +2,28 @@
|
||||
|
||||
### Requirements
|
||||
|
||||
- Linux
|
||||
- Docker 1.0.0+
|
||||
#### Linux
|
||||
|
||||
Not running Linux? Consider running Linux in a local virtual machine with [Vagrant](vagrant.md), or on a cloud provider like [Google Compute Engine](gce.md)
|
||||
|
||||
#### Docker
|
||||
|
||||
At least Docker 1.0.0+. Ensure the Docker daemon is running and can be contacted by the user you plan to run as (try `docker ps`).
|
||||
|
||||
#### etcd
|
||||
|
||||
You need an etcd somewhere in your path. To get from head:
|
||||
|
||||
```
|
||||
go get github.com/coreos/etcd
|
||||
go install github.com/coreos/etcd
|
||||
sudo ln -s "$GOPATH/bin/etcd" /usr/bin/etcd
|
||||
# Or just use the packaged one:
|
||||
sudo ln -s "$REPO_ROOT/target/bin/etcd" /usr/bin/etcd
|
||||
```
|
||||
|
||||
### Starting the cluster
|
||||
|
||||
In a separate tab of your terminal, run:
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user