As discussed in my earlier article we would be working on a few real-time scenarios where we would be able to comprehend the important features of Istio service mesh. We would start this by installing Istio in our Kubernetes cluster by a command-line tool called istioctl. To know more about Istio refer to Introduction to Istio Service Mesh
- Let us download the istioctl on our local machine
curl -sL https://istio.io/downloadIstioctl | sh - && export PATH=$PATH:$HOME/.istioctl/bin
2. Now Install Istio in our Kubernetes cluster with a configuration profile. The profiles provide customization of the Istio control plane and of the sidecars for the Istio data plane. I would be using the demo profile to explore all the built-in capabilities of Istio. (Make sure that your kubeconfig file is present in ~/.kube folder in your machine.)
$ istioctl install — set profile=demo
3. Now after the successful installation you can find a lot of components created. Verify them by executing the command. The output would be
kubectl get po -n istio-system
Hurrah!! We have successfully installed Istio service mesh components in our Kubernetes cluster using istioctl. In the next article, we would be exploring the various feature and work on using Istio with real-time scenarios. We would be working on Weighted routing in Kubernetes using Istio.
Prerequisites
Introduction to Istio Service Mesh
Recommended
- Weighted routing in Kubernetes using Istio
- Mirroring of Live Traffic in Kubernetes using Istio Traffic Mirroring
- MTLS in Istio
How to Install Istio using istioctl was originally published in TechManyu on Medium, where people are continuing the conversation by highlighting and responding to this story.