Playing with Google Kubernetes Engine
Kubernetes was designed by google and widely used internally at Google for years. Google Cloud Platform offers the hosted GKE. With GKE, we don't need to build a cluster from scratch. Instead, clusters can be launched and turned down on demand.
Getting ready
We can use the Kubernetes Engine dashboard in the GCP console or the gcloud CLI to launched and configure a cluster. Using the console is very straightforward and intuitive. However, using CLI is a more flexible way to make the operation repeatable or to integrate it with your existing pipeline. In this recipe, we'll walk through how to use gcloud to launch and set up a Kubernetes cluster, along with some importants concept in GCP.
In GCP, everything is associated with a project. A GCP project is the basic unit for using GCP services, billing, and permission control. At first, we'll have to create a project from the GCP console https://console.cloud.google.com.
The project ID is globally unique in GCP...