一、下载Istio软件包
➜ ~ curl -L https://istio.io/downloadIstio | sh -
➜ ~ ls -l istio-1.10.1
total 48
-rw-r--r-- 1 jyy staff 11348 6 5 04:44 LICENSE
-rw-r--r-- 1 jyy staff 5866 6 5 04:44 README.md
drwxr-x--- 3 jyy staff 96 6 5 04:44 bin
-rw-r----- 1 jyy staff 854 6 5 04:44 manifest.yaml
drwxr-xr-x 5 jyy staff 160 6 5 04:44 manifests
drwxr-xr-x 21 jyy staff 672 6 5 04:44 samples
drwxr-xr-x 5 jyy staff 160 6 5 04:44 tools
二、安装Istio demo版本
➜ ~ export PATH="$PATH:/Users/jyy/istio-1.10.1/bin"
➜ ~ istioctl version
no running Istio pods in "istio-system"
1.10.1
Istio有四个安装类型版本和自定义安装配置组件,分别是default、demo、minimal、remote,不同的安装类型版本,所安装的集群组件不同,此处我们安装demo版本的即可。
~ istioctl manifest apply --set profile=demo
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.10/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
! values.global.jwtPolicy is deprecated; use Values.global.jwtPolicy=third-party-jwt. See http://istio.io/latest/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for more information instead
This will install the Istio 1.10.1 demo profile with ["Istio core" "Istiod" "Ingress gateways" "Egress gateways"