在 istio-system 命名空间中找不到 cluster-local-gateway

Can't find cluster-local-gateway in istio-system namespace

我正在使用 Knative 在 K8s 中部署无服务器应用程序,最近我发现 istio-system 命名空间中缺少 cluster-local-gateway,这有什么原因吗..?恐怕在最新版本中 istio 删除了它,或者它必须由 Knative 端完成。 仅供参考 - 我在支持 istio 的 GCP 中进行部署。我没有手动安装 istio

集群本地网关需要作为 knative 安装的一部分进行安装。由于您使用 GKE 安装 istio 而不是使用 helm,因此您需要手动安装它。

kubectl apply -f https://raw.githubusercontent.com/knative/serving/master/third_party/${VERSION}/istio-knative-extras.yaml

这里的 VERSION 是 istio 版本,即 istio-1.5.0

https://github.com/knative/serving/blob/master/third_party/istio-1.5.0/istio-knative-extras.yaml