Event Details Name: PatchObjectError Type: Error Time: <DATE> Resource Name: MachineHealthCheck/<CLUSTER_NAME> error: [no matches for kind "MachineHealthCheck" in version "cluster.x-k8s.io/v1beta2"] during patching objects with name [MachineHealthCheck/<CLUSTER_NAME>]
This error is caused by Kubernetes Container Clusters UI plugin 4.2 creating the MachineHealthCheck capi yaml object with an invalid apiVersion value. Clusters that contain this invalid MachineHealthCheck section become unmanageable.
This issue is resolved in Kubernetes Container Clusters UI Plugin 4.2.1 available from VMware Downloads.
For more information see the VMware Cloud Director Container Service Extension 4.2.1 Release Notes.
After upgrading to VMware Cloud Director Container Service Extension 4.2.1 and Kubernetes Container Clusters UI Plugin 4.2.1, users can create new clusters with Node Health Check activated. For existing clusters affected by this issue, after upgrading to Kubernetes Container Clusters UI Plugin 4.2.1 Node Health Check can be toggled on or off to fix the cluster's capi yaml and resolve this issue.