Istio 安装失败

Istio installation failed

我在 Mac 上按照 https://github.com/IBM/cloud-native-starter/blob/master/documentation/IKSDeployment.md 上的说明进行操作,Kubernetes 在 IBM Cloud 上 运行。

命令

$ for i in install/kubernetes/helm/istio-init/files/crd*yaml; do kubectl apply -f $i; done

hangs/does 不是 return。

也无法验证 istio 安装:

$ istioctl verify-install
Error: unknown command "verify-install" for "istioctl"
Run 'istioctl --help' for usage.

使用我们托管的 Istio 产品进行检查。要在 IBM Cloud 运行 中的 Kubernetes 集群上安装 Istio,请执行以下操作之一...

  1. 安装 Istio

    ic ks cluster-addon-enable istio --cluster xxxx

  2. 额外安装 Istio(跟踪和监控)

    ic ks cluster-addon-enable istio-extras --cluster xxxx

  3. 使用 Bookinfo 安装 Istio

    ic ks cluster-addon-enable istio-sample-bookinfo --cluster xxxx

上面的xxxx是你集群的名称。

我们能够按照研讨会的先决条件步骤解决问题:https://github.com/IBM/cloud-native-starter/blob/master/workshop/00-prerequisites.md#361-automated-creation-of-a-cluster-with-istio-for-the-workshop