Google has been working with containers internally since 2003. In 2006 they introduced cgroups to the linux kernel. Kubernetes and GKE are introduced to the world in 2014. Today Google deploys 4 billion containers every week.
The Cluster Registry is part of the kubernetes foundation but is not included in the distribution by default. It’s added through a simple kubectl apply command. The cluster registry provides a simple yet powerful feature in that it enables a new resource type of Cluster to be added to your api calls.
In this example we’ll create a single Istio mesh across multiple regionally separated GKE clusters. Once setup, we’ll demonstrate the installation using Istio’s BookInfo application.
While you can accomplish this on your laptop, I’ll be demonstrating through Google Cloud Shell, which already includes many of the tools we’ll be using, as well as a standard environment we can all work from.
This article is a follow up to a couple previous ones, namely Global Kubernetes in 3 Steps on GCP which walks through setting up a global cluster, and Global ingress in practice on Google Container Engine — Part 1: Discussion which discusses how you would use a Global cluster with a Google LoadBalancer for Ingress.
In this article I’ll cover a variety of challenges I faced and solutions I figured out when deploying a real app to a Global Federated cluster using GCE ingress controller. In part 1 I’ll discuss the concepts, and in part 2 we’ll do an end to end deployment with real code.
Global Kubernetes in 3 Steps Creating a globally federated kubernetes cluster may sound daunting but it really only takes a few small steps.
Create the project and clusters Install and Join to kubefed Deploy globally The kubefed utility takes most of the effort out of this process.
Deis allows you to quickly deploy applications using just a few short commands:
Create, Configure and Pull. Since your app is deployed as standard Kubernetes pods, you can take advantage of all the robust capabilities k8s offers, coupled with the simplicity of deploying to a Paas.
Kubernetes provides orchestration for running containerized applications. In this tutorial we’ll walk through the basics of using Google Container Engine, or GKE, which provides managed Kubernets services for your use.