Orchestrating the Cloud with Kubernetes | Qwiklabs

abhinavcreed13/gcp-cloud-skills-badges

In this lab you will learn how to:

Kubernetes is all about applications. In this part of the lab you will use an example application called "app".

App is hosted on GitHub and provides an example 12-Factor application. During this lab you will be working with the following Docker images: • kelseyhightower/monolith - Monolith includes auth and hello services. • kelseyhightower/auth - Auth microservice. Generates JWT tokens for authenticated users. • kelseyhightower/hello - Hello microservice. Greets authenticated users. • nginx - Frontend to the auth and hello services.

https://cdn.qwiklabs.com/dWikgXRFOQhNfHmIPA3rIhKjAkdw9BZ54wzShfeYvKg%3D

Kubernetes is an open source project (available on kubernetes.io) which can run on many different environments, from laptops to high-availability multi-node clusters, from public clouds to on-premise deployments, from virtual machines to bare metal.

For this lab, using a managed environment such as Kubernetes Engine allows you to focus on experiencing Kubernetes rather than setting up the underlying infrastructure.

Google Kubernetes Engine

In the cloud shell environment type the following command to set the zone:

gcloud config set compute/zone us-central1-b

After you set the zone, start up a cluster for use in this lab:

gcloud container clusters create io

Note: It will take a while to create a cluster - Kubernetes Engine is provisioning a few Virtual Machines behind the scenes for you to play with!

Get the sample code