有没有不用 Helm 在 Kubernetes 集群中部署 Istio 的解决方案

Is there any solution to deploy Istio in Kubernetes Cluster without Helm

我们不想在我们的 kubernetes 集群中使用 Helm,但希望有 Istio。对我来说,Isto 似乎只能通过 Helm 安装在 kubernetes 上。

我想我可以复制所有 helm 图表并替换 helm 变量以成为 kubernetes 就绪的 yaml 文件。但这是我不想做的很多手动工作(也适用于所有新版本)。

任何想法,如果已经有解决方案?

如果您的集群中没有 Tiller 并且您不想安装它 - 您可以使用没有 Tiller 的安装方法(仅使用客户端 Helm 二进制文件) - https://istio.io/docs/setup/kubernetes/install/helm/#option-1-install-with-helm-via-helm-template

例如,要获得完整的 Istio YAML 清单,您可以这样做

helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system > istio.yaml

如果您想升级 - 下载更新版本的 Istio chart 并执行相同操作并将呈现的清单应用到您的集群。

当然可以在没有 Helm 的情况下安装 Istio

它甚至在官方 Istio 文档中 Quick Start Evaluation Install

Follow this flow to quickly evaluate Istio in a Kubernetes cluster on any platform. This flow installs Istio’s built-in demo configuration profile using basic Kubernetes commands without needing to download or install Helm.

Helm 只是安装 Istio 的推荐,因为它更容易。

还有另一种方法仅适用于 Google Cloud Platform

如果您使用 Kubernetes Engine 并将进入 Create Cluster,在底部您有 Availability, networking, security, and additional features 如果您单击它,附加功能之一是 Enable Istio (beta)

如果您勾选该框,您的 Kubernetes 集群将与 Istio 一起部署。