Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes 在Minikube上安装带舵的Istio失败_Kubernetes_Istio - Fatal编程技术网

Kubernetes 在Minikube上安装带舵的Istio失败

Kubernetes 在Minikube上安装带舵的Istio失败,kubernetes,istio,Kubernetes,Istio,在我的clean Ubuntu 16.04服务器上运行以下命令: minikube start --memory=7168 --cpus=3 --kubernetes-version=v1.10.0 --vm-driver=kvm2 kubectl apply -f istio-1.0.4/install/kubernetes/helm/helm-service-account.yaml helm init --service-account tiller --wait helm install

在我的clean Ubuntu 16.04服务器上运行以下命令:

minikube start --memory=7168 --cpus=3 --kubernetes-version=v1.10.0 --vm-driver=kvm2
kubectl apply -f istio-1.0.4/install/kubernetes/helm/helm-service-account.yaml
helm init --service-account tiller --wait
helm install istio-1.0.4/install/kubernetes/helm/istio --name istio --namespace istio-system
但是,没有成功安装,而是出现以下错误:

Error: release istio failed: customresourcedefinitions.apiextensions.k8s.io "envoyfilters.networking.istio.io" already exists
版本:

kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.0", GitCommit:"ddf47ac13c1a9483ea035a79cd7c10005ff21a6d", GitTreeState:"clean", BuildDate:"2018-12-03T21:04:45Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

istioctl version
Version: 1.0.4
GitRevision: d5cb99f479ad9da88eebb8bb3637b17c323bc50b
User: root@8c2feba0b568
Hub: docker.io/istio
GolangVersion: go1.10.4
BuildStatus: Clean

为了安全起见,我已经尝试了
minikube删除
,并添加了
rm-rf~/.minikube
,但仍然遇到了资源存在错误。有什么想法吗?

好吧,你不会喜欢这个的。这似乎是helm v2.12.0的一个问题

您需要降级到v2.11.0,它才能成功工作。我已经包括了一些必要的变化,以使您的头盔安装工作如下

# download the right client version
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | DESIRED_VERSION=v2.11.0 bash

# init the right tiller server
helm init \
--tiller-image gcr.io/kubernetes-helm/tiller:v2.11.0 \
--service-account tiller

我今天在GKE看到了同样的事情,找到什么了吗?