虛擬機器類別必須繫結到要佈建 TKG 叢集的 vSphere 命名空間

虛擬機器類別繫結錯誤

如果嘗試使用一或多個未新增到目標 vSphere 命名空間的虛擬機器類別佈建 TKG 叢集,則會收到錯誤 VirtualMachineClassBindingNotFound,下面顯示了一個範例。

若要更正錯誤,請使用要用於 TKG 叢集的虛擬機器類別設定 vSphere 命名空間。執行命令 kubectl get virtualmachineclassbindings 以檢視與 vSphere 命名空間相關聯的虛擬機器類別。

conditions:
  - lastTransitionTime: "2021-04-25T02:50:58Z"
    message: 1 of 2 completed
    reason: VirtualMachineClassBindingNotFound @ Machine/test-cluster
    severity: Error
    status: "False"
    type: ControlPlaneReady
  - lastTransitionTime: "2021-04-25T02:49:21Z"
    message: 0/1 Control Plane Node(s) healthy. 0/2 Worker Node(s) healthy
    reason: WaitingForNodesHealthy
    severity: Info
    status: "False"
    type: NodesHealthy