Now that we have a Kubernetes cluster and Meshery, we are ready to download and deploy Istio resources.
Optional (manual install of Istio):
Using Meshery, select Istio from the Management menu.
In the Istio management page:
-
Type
istio-systeminto the namespace field. -
Click the (+) icon on the
Installcard and click onIstio Service Meshto install latest version of Istio.
-
Click the
Deploybutton 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.
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 -On a *nix system, you can setup istioctl by doing the following:
brew install istioctlAlternatively, change into the Istio package directory and add the istioctl client to your PATH environment variable.
cd istio-*
export PATH=$PWD/bin:$PATHVerify istioctl is available:
istioctl versionCheck if the cluster is ready for installation:
istioctl verify-installTo install Istio with a demo profile, execute the below command.
istioctl install --set profile=demoAlternatively, with Envoy logging enabled:
istioctl install --set profile=demo --set meshConfig.accessLogFile=/dev/stdoutIn the Istio management page:
- Click the (+) icon on the
Validate Service Mesh Configurationcard. - Select
Verify Installationto verify the installation of Istio.
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