Skip to content

Commit

Permalink
small spelling fix and add log delition and garbage collection history
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtalha committed Aug 8, 2024
1 parent 52b24a6 commit c78a3a5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion argocd-helm-charts/harbor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ This issue generally persists because of bad caches that leads to troubles. In o

When you delete images from Harbor, the space isn't automatically reclaimed. To free up space, you need to perform garbage collection, which removes unreferenced blobs from the file system.

**Note**: You need admin privilages for running Garbage Collection.
**Note**: You need admin privileges for running Garbage Collection.

### Running Garbage Collection

Expand All @@ -183,4 +183,18 @@ When you delete images from Harbor, the space isn't automatically reclaimed. To
3. **Options**: To remove untagged artifacts, check the Delete Untagged Artifacts box.
4. **Save**: Click `Save`.

### Viewing Garbage Collection History

1. **History**: Go to the `History` tab to see the records of the 10 most recent garbage collection runs.
2. **Logs**: Click the icon in the `Logs` column to view the logs for a specific garbage collection job.

### Log Deletion

1. **Log Retention**: By default, Harbor retains garbage collection logs. However, you may need to delete old logs to free up space.
2. **Navigate**: Go to `Administration` > `Garbage Collection` > `History` tab.
3. **Delete Logs**: Select the logs you wish to delete and click the `Delete` button.
4. **Confirm**: Confirm the deletion to remove the selected logs from the system.

By managing garbage collection and log deletion, you can maintain optimal storage space and system performance in Harbor.

For more Detailed information you can also checkout - [Harbor Doc](https://goharbor.io/docs/2.0.0/administration/garbage-collection/)

0 comments on commit c78a3a5

Please sign in to comment.