From 543647c8857043ffb0692961f5cb305fff7ae691 Mon Sep 17 00:00:00 2001 From: Richard Gooch Date: Thu, 2 Oct 2014 18:30:36 -0700 Subject: [PATCH 1/2] Split GCE prerequisites for minions and master --- docs/getting-started-guides/gce.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/getting-started-guides/gce.md b/docs/getting-started-guides/gce.md index d2b47295338..3410287a24f 100644 --- a/docs/getting-started-guides/gce.md +++ b/docs/getting-started-guides/gce.md @@ -1,17 +1,21 @@ ## Getting started on Google Compute Engine -### Prerequisites +### Prerequisites for minions 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. 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 Cloud Storage API, and the Google Cloud 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: + + +### Prerequisites for the master + +1. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org). +2. You must have the [`gcloud` components](https://developers.google.com/cloud/sdk/) installed. +3. Ensure that your `gcloud` components are up-to-date by running `gcloud components update`. +4. Install godep (optional, only required when modifying package dependencies). [Instructions here](https://github.com/GoogleCloudPlatform/kubernetes#installing-godep) +5. Get the Kubernetes source: * Kubernetes 0.3 \[[.tar.gz](https://github.com/GoogleCloudPlatform/kubernetes/archive/v0.3.tar.gz)\] \[[.zip](https://github.com/GoogleCloudPlatform/kubernetes/archive/v0.3.zip)\] ### Setup From e7e7b1cc395d6d5de5a64a7238306253fd9c0ed9 Mon Sep 17 00:00:00 2001 From: Richard Gooch Date: Fri, 3 Oct 2014 14:29:14 -0700 Subject: [PATCH 2/2] Add text about example cluster and clarify pre-requisites. --- docs/getting-started-guides/gce.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/getting-started-guides/gce.md b/docs/getting-started-guides/gce.md index 3410287a24f..a60a7e487f5 100644 --- a/docs/getting-started-guides/gce.md +++ b/docs/getting-started-guides/gce.md @@ -1,6 +1,8 @@ ## Getting started on Google Compute Engine -### Prerequisites for minions +The example below creates a Kubernetes cluster with 4 worker node Virtual Machines and a master Virtual Machine (i.e. 5 VMs in your cluster). This cluster is set up and controlled from your workstation (or wherever you find convenient). + +### Getting VMs 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. @@ -9,7 +11,7 @@ 4. You need to have the Google Cloud Storage API, and the Google Cloud Storage JSON API enabled. -### Prerequisites for the master +### Prerequisites for your workstation 1. You must have Go (version 1.2 or later) installed: [www.golang.org](http://www.golang.org). 2. You must have the [`gcloud` components](https://developers.google.com/cloud/sdk/) installed.