Skip to content

Latest commit

 

History

History
120 lines (77 loc) · 2.89 KB

README.md

File metadata and controls

120 lines (77 loc) · 2.89 KB

Lab 1 - Setup Istio

Now that we have a Kubernetes cluster and Meshery, we are ready to download and deploy Istio resources.

Steps

Optional (manual install of Istio):

1 - Install Istio

Using Meshery, select Istio from the Management menu.

In the Istio management page:

  1. Type istio-system into the namespace field.

  2. Click the (+) icon on the Install card and click on Istio Service Mesh to install latest version of Istio.

  3. Click the Deploy button on the confirmation modal.

Continue to Lab 2: Deploy the sample application BookInfo



Alternative, manual installation steps are provided for reference below. No need to execute these if you have performed the steps above.


Appendix - Alternative Manual Install

1.1 - Download Istio

You will download and deploy the latest Istio resources on your Kubernetes cluster.

Note to Docker Desktop users: please ensure your Docker VM has atleast 4GiB of Memory, which is required for all services to run.

On your local machine:

curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.7.3 sh -

1.2 - Setting up istioctl

On a *nix system, you can setup istioctl by doing the following:

brew install istioctl

Alternatively, change into the Istio package directory and add the istioctl client to your PATH environment variable.

cd istio-*
export PATH=$PWD/bin:$PATH

Verify istioctl is available:

istioctl version

Check if the cluster is ready for installation:

istioctl verify-install

1.3 Install Istio:

To install Istio with a demo profile, execute the below command.

istioctl install --set profile=demo

Alternatively, with Envoy logging enabled:

istioctl install --set profile=demo --set meshConfig.accessLogFile=/dev/stdout

1.4 - Verify install

In the Istio management page:

  1. Click the (+) icon on the Validate Service Mesh Configuration card.
  2. Select Verify Installation to verify the installation of Istio.

Alternatively:

Istio is deployed in a separate Kubernetes namespace istio-system. To check if Istio is deployed, and also, to see all the pieces that are deployed, execute the following:

kubectl get all -n istio-system