1."No resources found" returned when perform kubectl get tkr
2.InvalidElementType error found in cls.log:
com.vmware.vapi.std.errors.InvalidElementType: InvalidElementType
3.wcp failed to list cluster content library:
failed to list clustercontentlibraries: failed to list clustercontentlibraries: the server could not find the requested resource
4.The state of vmware-system-vmop is CrashLoopBackOff
VMware vSphere Kubernetes Service
pod vmware-system-imageregistry missing in supervisor cluster
1. Manually apply the Image Registry package
kubectl apply -f /usr/lib/vmware-wcp/objects/image-registry-operator/package
kubectl apply -f /usr/lib/vmware-wcp/objects/image-registry-operator/packageinstall/pkginstall-sa.yaml
kubectl apply -f /usr/lib/vmware-wcp/objects/image-registry-operator/packageinstall/pkginstall.yaml
2. Wait for Image Registry operator to reconcile successfully
kubectl get pkgi -n vmware-system-imageregistry
NAME PACKAGE NAME PACKAGE VERSION DESCRIPTION AGE
imageregistry-operator vmimages.vmware.com 9.0.0-0.86600497 Reconcile succeeded 2d11h <==
3. Ensure the resource type "ClusterContentLibraryItem" exists
kubectl get clustercontentlibraryitems.imageregistry.vmware.com <=== no error
4. Restart vmop to retry initialization
kubectl rollout restart deployment -n vmware-system-vmop vmware-system-vmop-controller-manager