如何在
Automation Assembler
中使用 Kubernetes

Automation Assembler
提供了多種用於設定、管理和部署 Kubernetes 虛擬工作負載的選項。
Automation Assembler
中使用 Tanzu Kubernetes 資源有兩種選項。您可以建立 vSphere with Tanzu Kubernetes 組態,該組態僅需要合適的 vCenter 雲端帳戶和叢集計劃即可存取本機 vSphere Tanzu Kubernetes 功能。透過此選項,可以利用
vCenter
雲端帳戶存取主管命名空間,以便部署以
vSphere
Kubernetes 為基礎的工作負載。也可以在
Automation Assembler
中整合外部 Kubernetes 資源。
或者,也可以整合 VMware Tanzu Kubernetes Grid Integrated Edition (TKGI),以前稱為 PKS。這種類型的 Kubernetes 實作需要在
Automation Assembler
中整合 PKS。但不需要
Automation Assembler
叢集計劃。
最後,還可以建立 Red Hat OpenShift 與
Automation Assembler
的整合,以設定、管理和部署 Kubernetes 資源。

使用 vSphere with Tanzu Kubernetes 叢集

vSphere
7.x 包含重要的增強功能,支援在本機使用 Kubernetes 從一個介面同時管理虛擬機器和容器。透過
Automation Assembler
,使用者能夠利用內嵌於
vSphere
中的 vSphere with Tanzu Kubernetes 功能。可以利用包含主管叢集的
vSphere
實作透過
vCenter
雲端帳戶存取 vSphere with Tanzu Kubernetes 功能。透過此實作,您可以從
vCenter
同時管理傳統虛擬機器和 Kubernetes 叢集。
對於 Tanzu Kubernetes 主管命名空間,使用者必須能夠存取適用的
vSphere
SSO,以便登入提供的主管命名空間詳細資料的連結。然後,他們可以使用
vSphere
驗證下載自訂的 Kubectl,以便可以使用其主管命名空間。
若要使用此功能,您的
vCenter
中必須具有設定了主管命名空間的
vSphere
雲端帳戶。使用者登入後,即可開始使用適用的命名空間。

使用 VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) 或 Openshift 整合

對於 TKGI、外部叢集或 Openshift 組態,
Automation Assembler
會提供對 Kubeconfig 的存取權,以便使用者存取適用的 Kubernetes 叢集。
建立 TKGI 或 OpenShift 整合後,相應的 Kubernetes 叢集將可在
Automation Assembler
中使用,您可以新增和建立 Kubernetes 元件至
Automation Assembler
,以支援叢集和容器應用程式的管理。這些應用程式構成可從 Service Broker 目錄取得的自助服務部署的基礎。