sofastack / sofa-mesh

A solution for large-scale Service Mesh based on Istio.
https://www.sofastack.tech/
Apache License 2.0
1.16k stars 154 forks source link

Error: customresourcedefinitions.apiextensions.k8s.io "gateways.networking.istio.io" already exists #50

Open wanhuhou opened 5 years ago

wanhuhou commented 5 years ago

https://github.com/alipay/sofa-mesh/blob/x-protocol-quickstart/samples/e2e-dubbo/platform/kube/README.md 按实例流程执行到这一步 helm install install/kubernetes/helm/istio --name istio --namespace istio-system 总是报错 Error: customresourcedefinitions.apiextensions.k8s.io "gateways.networking.istio.io" already exists

lf1029698952 commented 5 years ago

使用helm直接安装时不要执行上面的crd创建命令,helm charts会自动创建crd配置, 执行删除操作后再执行helm install,

kubectl delete -f install/kubernetes/helm/istio/templates/crds.yaml
kubectl delete -f install/kubernetes/helm/istio/charts/certmanager/templates/crds.yaml

参考这里的方式部署: https://github.com/alipay/sofa-mosn/blob/master/docs/quickstart/RunWithSOFAMesh.md#2-%E9%80%9A%E8%BF%87-helm-%E5%AE%89%E8%A3%85-sofamesh

wanhuhou commented 5 years ago

能合一下官方的最新代码吗 kiali版本很低