Stay organized with collections
Save and categorize content based on your preferences.
The Artifact Registry API uses Kubernetes custom resources and relies on the Kubernetes
Resource Model (KRM). This API is used to view and manage Harbor container registry instances.
Service endpoint and discovery document
The API endpoint for the Artifact Registry API is:
https://MANAGEMENT_API_SERVER_ENDPOINT/apis/artifactregistry.gdc.goog/v1
where MANAGEMENT_API_SERVER_ENDPOINT is the endpoint of the
Management API server.
Using the kubectl proxy command, you can access that URL in your browser or
with a tool such as curl to get the discovery document for the Artifact Registry API.
The kubectl proxy command opens up a proxy to the Kubernetes API server on
your local machine. After that command is running, you can access the document at
the following URL: http://127.0.0.1:8001/apis/artifactregistry.gdc.goog/v1.
Example Harbor container registry instance
The following is an example of a Harbor container registry instance:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The Artifact Registry API utilizes Kubernetes custom resources and the Kubernetes Resource Model (KRM) for managing Harbor container registry instances."],["The API endpoint for the Artifact Registry is located at `https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/artifactregistry.gdc.goog/v1`, with the specific endpoint determined by the Management API server."],["You can access the API's discovery document by using `kubectl proxy` and then navigating to `http://127.0.0.1:8001/apis/artifactregistry.gdc.goog/v1` in your browser or through a tool like `curl`."],["An example Harbor container registry instance is illustrated, which shows the relevant API version, kind, name, and namespace."]]],[]]