summaryrefslogtreecommitdiffstats
path: root/README_GCE.md
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-10-05 09:26:52 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-10-05 09:26:52 -0400
commit7918909dc7c6877a4ce2b9fab830d0c41c1c92fd (patch)
tree5dc2cb028bddf76e98ff53d333535212d6fd8b3b /README_GCE.md
parentc443f3fc1b901b72a58e0e28b5a280cec205cbbd (diff)
parent59fb7879501d702bb78a1d79326408b115a63c90 (diff)
downloadopenshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.gz
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.bz2
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.xz
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.zip
Merge pull request #641 from menren/gce-support
GCE support
Diffstat (limited to 'README_GCE.md')
-rw-r--r--README_GCE.md17
1 files changed, 14 insertions, 3 deletions
diff --git a/README_GCE.md b/README_GCE.md
index f6c5138c1..50f8ade70 100644
--- a/README_GCE.md
+++ b/README_GCE.md
@@ -39,6 +39,13 @@ Create a gce.ini file for GCE
* gce_service_account_pem_file_path - Full path from previous steps
* gce_project_id - Found in "Projects", it list all the gce projects you are associated with. The page lists their "Project Name" and "Project ID". You want the "Project ID"
+Mandatory customization variables (check the values according to your tenant):
+* zone = europe-west1-d
+* network = default
+* gce_machine_type = n1-standard-2
+* gce_machine_image = preinstalled-slave-50g-v5
+
+
1. vi ~/.gce/gce.ini
1. make the contents look like this:
```
@@ -46,11 +53,15 @@ Create a gce.ini file for GCE
gce_service_account_email_address = long...@developer.gserviceaccount.com
gce_service_account_pem_file_path = /full/path/to/project_id-gce_key_hash.pem
gce_project_id = project_id
+zone = europe-west1-d
+network = default
+gce_machine_type = n1-standard-2
+gce_machine_image = preinstalled-slave-50g-v5
+
```
-1. Setup a sym link so that gce.py will pick it up (link must be in same dir as gce.py)
+1. Define the environment variable GCE_INI_PATH so gce.py can pick it up and bin/cluster can also read it
```
- cd openshift-ansible/inventory/gce
- ln -s ~/.gce/gce.ini gce.ini
+export GCE_INI_PATH=~/.gce/gce.ini
```