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.

In case DevOps engineers report that too many images are stored for a project, as a vSphere administrator you can purge the images for that project in the private image registry. Purging the images from a project deletes all references to these images, but does not delete them from the vSphere datastore. Every Saturday at 2 AM, the garbage collector service deletes all images from the entire private image registry that are not referenced by applications.

Procedure

  1. In the vSphere Client, navigate to the namespace.
  2. Select Configure and select General.
  3. Next to Embedded Registry, click Purge.