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-side

最低0.47元/天 解锁文章
1372

被折叠的 条评论
为什么被折叠?



