- Navigate to https://console.cloud.google.com and login with your credentials.
- Select your project from the project listing.
- Navigate (using the menu or the search bar) to Compute Engine.
- Enable Compute Engine (this may take a few minutes).
- Click the following button to activate Cloud Shell, which is your "command line in the cloud" and will be used complete the labs.
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 (GKE).
In your Cloud Shell terminal, issue the following commands (feel free to change the zone or cluster name):
gcloud config set compute/zone europe-west1-b
gcloud container clusters create myk8scluster --num-nodes 7
In your Cloud Shell environment clone the following repository.
mkdir -p ~/go/src/github.com/askcarter
cd ~/go/src/github.com/askcarter
git clone https://github.com/askcarter/workshop-in-a-box.git
cd workshop-in-a-box/kubernetes-101