Kubernetes on GCP
Kubernetes: container orchestration tool in GCP.
Google Cloud Platform provides a service called Google Kubernetes Engine (GKE) for serving Docker containers. Kubernetes is a container-orchestration system originally developed by Google that is now open source. There are a wide range of use cases for this platform, but we’ll focus on the specific task of hosting our echo service using managed Kubernetes.
Kubernetes for Docker
Using Kubernetes for hosting a Docker container is similar to ECS, where the first step is to save your image to a Docker registry that can interface with the orchestration system. The GCP version of this registry service is called Container Registry. To get our image from our local machine to the GCP Container Registry, we’ll again use the docker login command. For this process to work, you’ll need the GCP credentials JSON file that we set up in Chapter : Introduction.
Pushing image
The ...