github.com/googlecloudplatform/kubernetes-workshops@v0.0.0-20180501174420-d8199445b2c3/bundles/kubernetes-101/workshop/labs/workshop-setup.md (about)

     1  ## Workshop setup
     2  
     3  #### Google Cloud Platform account setup
     4  * Navigate to https://console.cloud.google.com and login with your credentials.
     5  * Select your project from the project listing.
     6  * Navigate (using the menu or the search bar) to [Compute Engine](https://console.cloud.google.com/compute/).
     7  * Enable Compute Engine (this may take a few minutes).
     8  * Click the following button to activate [Cloud Shell](https://cloud.google.com/shell/docs),
     9  which is your "command line in the cloud" and will be used complete the labs. ![Cloud Shell Icon](https://cloud.google.com/shell/docs/images/shell_icon.png)
    10  * Open the menu icon on the top left.                                             
    11  ![Menu](https://codelabs.developers.google.com/codelabs/cloud-speech-intro/img/742dc285f86cdd1f.png)
    12  * Select **API Manager** from the drop down.      
    13  ![API-Manager](https://codelabs.developers.google.com/codelabs/cloud-speech-intro/img/4cafd05ec8d75ebf.png).
    14  * select **ENABLE API**.  
    15   ![Enable-API](https://codelabs.developers.google.com/codelabs/cloud-speech-intro/img/24185da15bfb437f.png)
    16  * Under Google Cloud APIs, click on **Container Engine API**. If you need help finding the API, use the search field.
    17  * Click **ENABLE**.  
    18  ![Enable](https://codelabs.developers.google.com/codelabs/cloud-speech-intro/img/985398850889c886.png)
    19  * Wait for a few seconds for it to enable.
    20  
    21  #### Provision Kubernetes using Google Container Engine (GKE)
    22  
    23  Kubernetes can be configured with many options and add-ons, but can be time consuming to bootstrap from the ground up. In this section you will bootstrap Kubernetes using [Google Container Engine](https://cloud.google.com/container-engine) (GKE).
    24  
    25  In your **Cloud Shell** terminal, issue the following commands (feel free to change the zone or cluster name):
    26  
    27  ```
    28  gcloud config set compute/zone europe-west1-b
    29  gcloud container clusters create myk8scluster --num-nodes 7
    30  ```
    31  
    32  #### Clone repository
    33  
    34  In your Cloud Shell environment clone the following repository.
    35  
    36  ```bash
    37  mkdir -p ~/go/src/github.com/GoogleCloudPlatform
    38  cd ~/go/src/github.com/GoogleCloudPlatform
    39  git clone https://github.com/GoogleCloudPlatform/kubernetes-workshops.git
    40  cd kubernetes-workshops/bundles/kubernetes-101/workshop
    41  ```