This section will walk you through setting up Docker containers in the cloud using Google Compute VM instances. We will also see what you need to do to expose your pod to external traffic. Let's see how we can set up a Kubernetes cluster running on the GKE.
First, we need to set up some default configuration properties before we create our container cluster:
- Set the default compute zone and the compute region as appropriate.
gcloud config set compute/zone ZONEgcloud config set compute/region REGION
- Use the gcloud container clusters create command to create a cluster running the GKE. The name of our cluster is my-first-cluster and we want this cluster to have exactly one ...