Skip to content

Commit

Permalink
feat: add generation scripts for the cli docs
Browse files Browse the repository at this point in the history
Signed-off-y: karanngi <karan.git@gmail.com>
  • Loading branch information
stonezdj authored and karanngi committed Aug 10, 2024
1 parent c718189 commit a9b50d1
Show file tree
Hide file tree
Showing 8 changed files with 1,657 additions and 479 deletions.
3 changes: 2 additions & 1 deletion docs/administration/configure-proxy-cache/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ The next time a user requests that image, Harbor checks the image's latest manif
* If the image has not been updated in the target registry, the cached image is served from the proxy cache project.
* If the image has been updated in the target registry, the new image is pulled from the target registry, then served and cached in the proxy cache project.
* If the target registry is not reachable, the proxy cache project serves the cached image.
* If the image is no longer in the target registry, no image is served.
* If the image is no longer in the target registry, but is still in the proxy cache project, the cached image is served from the proxy cache project.


As of Harbor v2.1.1, Harbor proxy cache fires a HEAD request to determine whether any layer of a cached image has been updated in the Docker Hub registry. Using this method to check the target registry will not trigger the [Docker Hub rate limiter](https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/). If any image layer was updated, the proxy cache will pull the new image, which will count towards the Docker Hub rate limiter.

Expand Down
6 changes: 6 additions & 0 deletions docs/cli/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Harbor CLI
weight: 25
---

This section describes the functions and examples of each commands in the Harbor CLI.
Loading

0 comments on commit a9b50d1

Please sign in to comment.