$ curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.1.0 sh -
执行完毕您将看见如下输出:
1 2 3 4 5 6 7 8 9 10 11 12 13
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1631 100 1631 0 0 471 0 0:00:03 0:00:03 --:--:-- 838 Downloading istio-1.1.0 from https://github.com/istio/istio/releases/download/1.1.0/istio-1.1.0-linux.tar.gz ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 614 0 614 0 0 553 0 --:--:-- 0:00:01 --:--:-- 554 100 15.0M 100 15.0M 0 0 1651k 0 0:00:09 0:00:09 --:--:-- 2405k Downloaded into istio-1.1.0: bin install istio.VERSION LICENSE README.md samples tools Add /root/istio-1.1.0/bin to your path; e.g copy paste in your shell and/or ~/.profile: export PATH="$PATH:/root/istio-1.1.0/bin"
See https://istio.io/docs/reference/ for an overview of Istio routing.
Usage: istioctl [command]
Available Commands: authn Interact with Istio authentication policies context-create Create a kubeconfig file suitable for use with istioctl in a non kubernetes environment create Create policies and rules delete Delete policies or rules deregister De-registers a service instance experimental Experimental commands that may be modified or deprecated gen-deploy Generates the configuration for Istio's control plane. get Retrieve policies and rules help Help about any command kube-inject Inject Envoy sidecar into Kubernetes pod resources proxy-config Retrieve information about proxy configuration from Envoy [kube only] proxy-status Retrieves the synchronization status of each Envoy in the mesh [kube only] register Registers a service instance (e.g. VM) joining the mesh replace Replace existing policies and rules version Prints out build version information
configmap/istio-crd-10 created configmap/istio-crd-11 created serviceaccount/istio-init-service-account created clusterrole.rbac.authorization.k8s.io/istio-init-istio-system created clusterrolebinding.rbac.authorization.k8s.io/istio-init-admin-role-binding-istio-system created job.batch/istio-init-crd-10 created job.batch/istio-init-crd-11 created
poddisruptionbudget.policy/istio-galley created poddisruptionbudget.policy/istio-ingressgateway created poddisruptionbudget.policy/istio-policy created poddisruptionbudget.policy/istio-telemetry created poddisruptionbudget.policy/istio-pilot created configmap/istio-galley-configuration created configmap/prometheus created configmap/istio-security-custom-resources created configmap/istio created ...
五、 确认安装情况
1、查询 istio service 是否正常工作,参考配置文件中的组件表,验证是否已部署与所选配置文件对应的Kubernetes服务: