Install Istio in EKS Kubernetes Cluster¶
Now that we know what Istio is and how it works, let's install it in our EKS kubernetes cluster. Later on, we'll explore its features more deeply in the following sections.
Step 1: Download Istio¶
-
Download installation file:
Tip
The command above downloads the latest release (numerically) of Istio. You can pass variables on the command line to download a specific version or to override the processor architecture. For example, to download Istio 1.20.0 for the x86_64 architecture, run:
-
Change directory to the Istio package directory. For example, if the package is
istio-1.20.0
:Verify that the directory contains
bin/
folder. This contains theistioctl
client binary.Note
istioctl
is a command-line utility used to configure and manage Istio service mesh within kubernetes environments. -
Add
istioctl
client to your path: -
Verfy
istioctl
version:If everything is fine it should print out the
istioctl
version.
Step 2: Install Istio¶
-
Check if your EKS cluster is ready to install Istio:
If your EKS cluster passes the pre-installation verification check you should see the following output:
-
List available istio configuration profiles:
Istio configuration profiles are predefined sets of configuration settings that allow users to easily customize and fine-tune Istio's behavior within their service mesh.
This lists all the configuration profiles that can be used while installing istio.
In this course, we will use the
default
profile, which is recommended for production deployment. -
Install Istio:
Let's install istio with configuration from
default
profile.If istio is installed successfully, you should see the output similar to below:
-
Verify Istio installation:
Istio components are deployed in
istio-system
namespace. Let's list pods inistio-system
namespace.Verify if all the pods are running.
Note
Istiod
makes up the control plane and is responsible for injecting the sidecar proxies into our services that are part of the mesh.
Uninstall Istio¶
If you no longer need Istio in your EKS kubernetes cluster, you can uninstall it using following command:
This will remove all istio components from your kubernetes cluster.
References: