Install Istio: Part 3: Application in Istio

Ashish Agarwal
Oct 19, 2020
PC: Istio.com

This belongs to a 3 parts series on Installation of Istio. Before proceeding follow the previous steps in Part 1 and Part 2

Step 1: Create a separate namespace for the application. It is a best practise to keep the application namespace different from the default namespace

kubectl create ns application

Step 2: Associate Istio to this namespace

Step 3: Get the MHS application

MHS is Mirror Http Server, a simple http server written in node js that gives different responses based on the different headers in requests.

  • Create a new dir called mirrorhttpserver and cd to this dir
  • Clone the chart repo

git clone https://github.com/ExpediaGroup/mhs-chart.git

  • Install MHS

cd mhs-chart
helm install mhs — namespace application ./mhs

To recap, what we have done is run the MHS application in its own namespace called application in the local kubernetes cluster. The pod is exposed to the external world via the igtio-gateway.

To test, execute the following command

curl -I -H Host:mhs.example.com ‘http://localhost'

You should receive an HTTP 200 OK response.

Your Istio installation and testing is now complete. You are free to release some of the resources back to your laptop. Shutdown the Kubernetes and docker from the docker dashboard.

Congratulations ! You may now relax :-)

If you liked my article, do consider giving a few claps and share with others.

You may choose to follow me on LinkedIn.com

--

--