nerdexam
Broadcom-VMware

5V0-23.20 · Question #17

How can you remove unreferenced container images from a project in an embedded Registry Service?

The correct answer is A. Delete images in Content Library. Deleting Artifact: When an artifact is not referenced by any OCI index, you can delete the artifact freely which will delete its manifest and all associated tags. When an artifact is referenced by an OCI index, you cannot delete it. In order to delete this artifact, you must…

Operating and Administering vSphere with Tanzu

Question

How can you remove unreferenced container images from a project in an embedded Registry Service?

Options

  • ADelete images in Content Library.
  • BUse kubectl to delete the images.
  • CDelete the namespace using the vSphere Client.
  • DPurge a namespace using the vSphere Client.

How the community answered

(34 responses)
  • A
    76% (26)
  • B
    3% (1)
  • C
    15% (5)
  • D
    6% (2)

Explanation

Deleting Artifact: When an artifact is not referenced by any OCI index, you can delete the artifact freely which will delete its manifest and all associated tags. When an artifact is referenced by an OCI index, you cannot delete it. In order to delete this artifact, you must first delete all OCI indexes referencing this artifact first, remembering that an artifact can be referenced by multiple parents artifacts pushed onto Harbor by different users. So when deleting an OCI index holding 9 children artifacts not referenced by any other index and 1 child artifact referenced by another index, only 9 out of 10 children artifacts will be deleted. To delete any artifact in the Harbor interface, click on the artifact and select `Delete' and confirm. As a vSphere administrator, you can purge the images for a project in the private image registry by request from DevOps engineers. Purging images from the private image registry deletes all

Topics

#embedded registry#container image cleanup#Content Library#image lifecycle

Community Discussion

No community discussion yet for this question.

Full 5V0-23.20 Practice