The following table provides a description of each option:
Option
Description
--unlock-pvc
Unlocks all PVCs that vCenter sees as attached to a virtual machine, but the PVCs are not mounted on the virtual machine.
--delete-pvc
Deletes PVCs for which Kubernetes does not have a record, but that vCenter sees as present.
--recover-vmdk
Creates or recovers the VMDK.
If your docker registry is lost, you can run pvcCleanup --recover-vmdk to create a new VMDK, but the VMDK will not have any docker images. Run the ccm registry repopulate command to repopulate the docker image registry with docker images.
--delete-failed-pvs
Deletes all PVs that are in a Failed state from the Kubernetes cluster.
–-review
Lists PVCs that vCenter sees as attached to a virtual machine, but the PVCs are not mounted on the virtual machine.