透過機群和叢內Cloud Service Mesh,即可在 GKE Enterprise 上使用 Knative 服務。如要進一步瞭解 Knative serving,請參閱架構總覽。
新安裝次數
請根據 GKE 叢集的位置選擇安裝方法:
- 在 Google Cloud
- 機群中在 Google Cloud上執行的 Google Kubernetes Engine 叢集。請參閱 Google Cloud 安裝先決條件。
- 外部 Google Cloud
- 機群中在外部代管及執行的 GKE 叢集。Google Cloud請參閱外部 Google Cloud 安裝先決條件。
升級「免費試用」安裝項目
先前在叢集中安裝的「免費試用」版 Knative Serving 是以「GKE 外掛程式」的形式啟用。從 Anthos 1.8 版開始,您必須將 Knative Serving 安裝為機群元件,並搭配 Cloud Service Mesh 使用。
如要遷移現有的 Knative serving 安裝項目,改用機群和 Cloud Service Mesh,請選擇叢集的對應指南:
從 Knative serving 遷移
如果 GKE Enterprise 無法滿足您的需求,可以遷移現有的 Knative 服務工作負載,改用其他產品執行。瞭解如何遷移工作負載。
Knative serving 機群安裝項目的新功能
Knative serving 安裝作業的變更提供下列功能:
機群可讓您獨立管理及升級 Knative serving 安裝項目,不必理會其他企業元件。
Cloud Service Mesh 1.18 版是機群的另一個元件,現在可將 Knative serving 與服務網格管理和維護工作分離。使用 Cloud Service Mesh 可讓安裝作業與其餘 GKE Enterprise 保持一致,並移除先前隨附 Istio 版本中的依附元件和限制。
在叢集之間進行機群範圍的存取和管理:
與車隊元件完全整合。 與 Cloud Service Mesh 相同,Knative serving 安裝作業也會在 GKE Enterprise 環境內和跨環境獲得支援。
您可以使用 Terraform 管理設定,例如在 Google Cloud上設定 Anthos。
Knative Serving 安裝項目一律會保持在最新狀態。叢集中執行的
appdevexperience-operator
運算子 會自動推出最新版本的 Knative Serving,並建立新 Pod。