-
Either download Istio directly from https://github.com/istio/istio/releases or get the latest version using curl:
curl -L https://git.io/getLatestIstio | sh -
-
Extract the installation files.
-
Add the
istioctl
client to your PATH. For example, run the following command on a MacOS or Linux system:export PATH=$PWD/istio-[version]/bin:$PATH
-
Change the directory to the Istio file location.
cd [path_to_istio-version]
-
Install Istio on the Kubernetes cluster.
kubectl apply -f install/kubernetes/istio-demo-auth.yaml
Istio is deployed in a separate Kubernetes namespace istio-system
You can watch the state of Istio and other services and pods using the watch flag (-w
) when listing Kubernetes resources. For example, in two separate terminal windows run:
kubectl get pods -w --all-namespaces
kubectl get services -w --all-namespaces
Congratulations! You have installed Istio into the Kubernetes cluster. A lot has been installed:
- Istio Controllers and related RBAC rules
- Istio Custom Resource Definitions
- Prometheus and Grafana for Monitoring
- Jeager for Distributed Tracing
- Istio Sidecar Injector (we'll take a look next next section)