sofastack / sofa-mesh

A solution for large-scale Service Mesh based on Istio.

Home Page:https://www.sofastack.tech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

wanhuhou opened this issue · comments

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

使用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

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