ExamGecko
Question list
Search
Search

Question 55 - 5V0-23.20 discussion

Report
Export

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

A.
Delete images in Content Library.
Answers
A.
Delete images in Content Library.
B.
Use kubectl to delete the images.
Answers
B.
Use kubectl to delete the images.
C.
Delete the namespace using the vSphere Client.
Answers
C.
Delete the namespace using the vSphere Client.
D.
Purge a namespace using the vSphere Client.
Answers
D.
Purge a namespace using the vSphere Client.
Suggested answer: A

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.

Not Purge:

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 references to the images made by pods, but it does not remove the images from the image registry.

asked 16/09/2024
Mark Chow
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first