How to Remove Images From the Embedded Harbor Registry
search cancel

How to Remove Images From the Embedded Harbor Registry

book

Article ID: 395828

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

The Purge function in vSphere can be used to clear images from the Embedded Harbor Registry. 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. When there are too many images store for a project a vSphere administrator 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.

Environment

vSphere with Tanzu

Resolution

1. Login to vSphere
2. Navigate to Workload Management
3. Navigate to the Namespace.

4. Under Namespace select
Configure
then select
General
.

5. Next to
Embedded Registry
, click
Purge
.