Installing open source Istio on Kubernetes Engine

What is Istio?

In order to go hands on in this lab we first need to understand what is Isitio. In this lab you will get a brief introduction about what is isitio and how it is used.

Open Source Istio

In this lab you will learn how to install Open Source Istio on a GKE Cluster. You will find some interesting links which you can go through in order to get a detailed information about Istio and GCP.

Objectives

In this lab you will be covering the following objectives.

Setup and requirements

The setup and requirements of this lab are similar to other labs as you will be using Google Cloud Shell for running the commands. Make sure that you are using incognito mode while performing the labs and follow all the instructions carefully for the setup of this lab.

Install and configure a cluster with open source Istio using Helm

In this section you will find other subsections as well. Have a look at the diagram below for more clarity.

Create a GKE cluster

In this section you will be first setting environment variables and then create a cluster in a single zone, with 4 nodes, that can scale up to 8 nodes. The nodes are in the default VPC network. This will take a few minutes. When you have entered the commands you will be greeted with warnings which are totally safe to ignore. :)

Configure cluster access for kubectl

Once your clusters are created you will configure the cluster access for the kubectl for which you will be running two simple commands in the cloud shell as given in the labs. This will take a few seconds. Once you get the output as given in the lab instructions you can proceed further with the next step.

Install open source Istio on your GKE cluster using Helm

Here are the steps which you will be following in order to install the open source Istio on your GKE Cluster

Verify cluster and Istio installation
  • The Cluster is up and running
  • Ensure that the required Kubernetes services are deployed
  • Ensure the corresponding Kubernetes pods are deployed and all containers are up and running
  • Verify that istioctl is working

Deploy Bookinfo, an Istio-enabled multi-service application

In this task, you will set up the Bookinfo sample microservices application and explore the app.

Use the Bookinfo application

In order to use the application, you will need to enter this address into your browser http://[$GATEWAY_URL]/productpage. Replace [$GATEWAY_URL] with the working external IP address. Please refer to the images below:

Explore Stackdriver Kubernetes Engine Monitoring

This is the final section of this lab in which you will explore the stackdriver kubernetes engine monitoring according to the instructions given in the lab. Once that is done you have completed this lab successfully!!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store