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-system
into the namespace field. -
Click the (+) icon on the
Install
card and click onIstio Service Mesh
to install latest version of Istio. -
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.
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 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
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
In the Istio management page:
- Click the (+) icon on the
Validate Service Mesh Configuration
card. - Select
Verify Installation
to 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