虚拟机类必须绑定到要置备 TKG 2 集群的 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