Start with a clean slate and delete all deployed services from the cluster:
kubectl delete all
Either download it directly or get the latest using curl:
https://github.com/istio/istio/releases
curl -L https://git.io/getLatestIstio | sh -
export PATH=$PWD/istio-0.2.10/bin:$PATH
Istio related commands need to have istioctl
in the path. Verify it is available by running:
istioctl -h
1 - First grant cluster admin permissions to the current user (admin permissions are required to create the necessary RBAC rules for Istio):
kubectl create clusterrolebinding cluster-admin-binding \
--clusterrole=cluster-admin \
--user=$(gcloud config get-value core/account)
2 - Next install Istio on the Kubernetes cluster:
Change to the Istio directory (istio-0.2.10) and and install istio in the kubernetes cluster
cd istio-0.2.10
kubectl apply -f install/kubernetes/istio.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 command. For example in 2 separate terminal windows run:
watch -n 30 kubectl get po --all-namespaces
watch -n 30 kubectl get svc --all-namespaces