Install Istio:Part 2: Helm and Istio
This belongs to a 3 parts series on Installation of Istio. Before proceeding follow the previous steps in Part 1
We will use Helm to install Istio. So we need Helm first
Step 1: Install Helm
We will use homebrew to install Helm
brew install helm@3
Verify the installation. Execute helm version command.
If everything is fine, helm should be a recognised command and you should get the output like
Step 2: Install Istio
To understand what is Istio, refer my previous article on a dummies guide to Istio.
Before we install Istio, it is recommended by the official documentation to increase the laptop resources to 4 CPU cores and 8 GB memory.
Once you are done, let us go ahead and install Istio
- Download the source and change directory
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.7.3 sh -
cd istio-1.7.3
- Add the istioctl client to your path
export PATH=$PWD/bin:$PATH
- Install Istio with the provided client, we will use the demo profile:
istioctl install — set profile=demo
On successful installation, you should see something like
Step 3: Verify the installation
On the kube dashboard, you should see an istio-system namespace in the top dropdown
Here you can see the Istio components — Istiod, istio-egressgateway, istio-ingressgateway running.
Congratulation! Istio is finally installed.
Step 4: Install Prometheus (optional)
Istio data plane is responsible for collecting several metrics and passing them to the control plane. These metrics can be pushed into Prometheus which is a system for capturing events and alerts in real-time.
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.7/samples/addons/prometheus.yaml
Visit kube dashboard to verify the installation
Once you have done these steps, you may proceed to Part 3