1、重装命令
istioctl manifest generate --set profile=demo | kubectl delete --ignore-not-found=true -f -
2、下载
参考:02、istio部署到k8s中 - 简书 (jianshu.com)
参考 Istio / 入门
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.20.0 TARGET_ARCH=x86_64 sh -
tar -zxvf istio-1.20.0-linux-amd64.tar.gz
vim /etc/profile
export ISTIO_HOME=/opt/istio-1.20.0
source /etc/profile
echo $ISTIO_HOME
/opt/istio-1.20.0
export PATH=PWD/bin:PATH
which istioctl

root@bigData07 istio-1.20.0\]# istioctl install --set profile=demo -y 报异常: Error: failed to install manifests: errors occurred during operation: creating default tag would conflict: Error \[IST0139\] (MutatingWebhookConfiguration istio-sidecar-injector ) Webhook overlaps with others: \[istio-revision-tag-default/namespace.sidecar-injector.istio.io\]. This may cause injection to occur twice. Error \[IST0139\] (MutatingWebhookConfiguration istio-sidecar-injector ) Webhook overlaps with others: \[istio-revision-tag-default/object.sidecar-injector.istio.io\]. This may cause injection to occur twice. Error \[IST0139\] (MutatingWebhookConfiguration istio-sidecar-injector ) Webhook overlaps with others: \[istio-revision-tag-default/rev.namespace.sidecar-injector.istio.io\]. This may cause injection to occur twice. Error \[IST0139\] (MutatingWebhookConfiguration istio-sidecar-injector ) Webhook overlaps with others: \[istio-revision-tag-default/rev.object.sidecar-injector.istio.io\]. This may cause injection to occur twice. kubectl get MutatingWebhookConfiguration  kubectl delete MutatingWebhookConfiguration istio-revision-tag-default  istioctl install --set profile=demo -y  kubectl apply -f [samples/bookinfo/platform/kube/bookinfo.yaml](https://raw.githubusercontent.com/istio/istio/release-1.20/samples/bookinfo/platform/kube/bookinfo.yaml "samples/bookinfo/platform/kube/bookinfo.yaml")  kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items\[0\].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage \| grep -o "\