Overview of Harbor metrics and observability
<harbor_instance>:<metrics_port>/<metrics_path>.website·Indexed 40 days ago
https://goharbor.io/docsDocumentation for Harbor, an open-source cloud-native registry. Includes guides for installation, configuration of LDAP/Active Directory authentication, project management, Helm chart handling via ChartMuseum, and REST API usage via Swagger. Also provides comprehensive Harbor CLI reference for managing repositories, artifacts, users, and registries.
<harbor_instance>:<metrics_port>/<metrics_path>.Proxy cache allows Harbor to act as an intermediary that proxies and caches images from a target public or private registry. This is useful for environments with limited internet access, reducing bandwidth consumption, or avoiding rate limits from public registries.
Supported registries include:
Key Constraints:
System robot accounts allow administrators to perform automated maintenance or repeated tasks across all or a subset of projects in a Harbor instance. Unlike project-scoped robot accounts, system robot accounts can span multiple projects.
Key Constraints:
Push Repository permission requires the Pull Repository permission to be assigned simultaneously; it cannot be granted alone.System robot accounts allow administrators to perform maintenance or repeated automated tasks across all or a subset of projects in a Harbor instance. These accounts are used via OCI clients or the Harbor API and cannot be used to log into the Harbor user interface.
Available permissions for system robot accounts include:
Replication in Harbor allows for the movement of images and charts between Harbor and other registries (both Harbor and non-Harbor) using either pull or push modes.
Key behaviors include:
Harbor Proxy Cache allows Harbor to act as a proxy and cache for images from a target public or private registry. This is useful for environments with limited internet access, reducing bandwidth consumption, or avoiding rate limits from public registries.
Supported registries include:
Note: It is strongly recommended to use Harbor v2.1.1 or later to align with Docker Hub's rate limit policy, as it uses HEAD requests to check for updates without triggering the rate limiter.
The Harbor system administrator is responsible for global configuration and maintenance of the Harbor instance. Key administrative tasks include:
Harbor Proxy Cache allows Harbor to act as an intermediary that proxies and caches images from a target public or private registry. This is useful for environments with limited internet access, reducing bandwidth consumption, or avoiding rate limits from public registries.
Supported registries include:
Starting with v2.1.1, Harbor uses HEAD requests to check for updates in Docker Hub to avoid triggering rate limits unless an image layer has actually changed.
Replication in Harbor allows the movement of images and charts between Harbor and other registries (both Harbor and non-Harbor) using either pull or push modes.
Key behaviors include:
P2P preheating in Harbor allows administrators to distribute and cache images across a P2P engine (such as Dragonfly v1.0.5+ or Uber Kraken v0.1.3+) before they are requested by clients. This reduces the load on the registry and accelerates image pulling.
Key components of the workflow include: