Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie Ihre erstellten Harbor-Registry-Instanzen verwalten. Sie können Ihre erstellten Harbor-Registrierungsinstanzen über die Google Distributed Cloud (GDC) Air-Gap-Konsole oder die GDC gdcloud CLI aufrufen oder löschen. Löschen Sie nicht verwendete Harbor-Instanzregistrierungen, um die Speicherkosten zu senken und Speicherplatz freizugeben.
Hinweise
Zum Ansehen und Löschen von Harbor-Registry-Instanzen benötigen Sie die erforderlichen Identitäts- und Zugriffsrollen:
Harbor Instance Viewer: erforderlich, um Harbor-Instanzen anzusehen. Bitten Sie Ihren IAM-Administrator der Organisation, Ihnen die Rolle „Harbor Instance Viewer“ (harbor-instance-viewer) zuzuweisen.
Harbor-Instanzadministrator: erforderlich zum Löschen von Harbor-Instanzen. Bitten Sie Ihren IAM-Administrator der Organisation, Ihnen die Rolle „Harbor Instance Admin“ (harbor-instance-admin) zuzuweisen.
Harbor-Registrierungsinstanzen ansehen
Sie können Ihre erstellten Harbor-Registry-Instanzen in der GDC-Konsole aufrufen oder die GDC-CLI verwenden.
Console
Rufen Sie im Bereich CI/CD die Seite Harbor Container Registry auf.
Die Liste der erstellten Harbor-Instanzen finden Sie im Abschnitt Instanzen.
Wenn Sie weitere Details zu einer bestimmten Instanz aufrufen möchten, klicken Sie auf den externen Link Go to Harbor Instance (Zur Harbor-Instanz).
Löschen Sie eine vorhandene Harbor-Registry-Instanz, wenn sie nicht mehr benötigt wird. Harbor-Registry-Instanzen in der GDC-Konsole oder mit der GDC gdcloud CLI.
Console
Rufen Sie im Abschnitt CI/CD die Seite Harbor Container Registry auf.
Klicken Sie auf Instanz löschen.
Im Bestätigungsdialogfeld:
Klicken Sie auf Abbrechen, um den Löschvorgang zu beenden.
Klicken Sie auf Löschen, um das Löschen der Harbor-Instanz zu bestätigen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis page provides instructions on how to manage Harbor registry instances within Google Distributed Cloud (GDC) air-gapped environments.\u003c/p\u003e\n"],["\u003cp\u003eYou can view existing Harbor instances via the GDC console or the \u003ccode\u003egdcloud\u003c/code\u003e CLI, with detailed views available through an external link for each instance.\u003c/p\u003e\n"],["\u003cp\u003eDeleting unused Harbor instances can help lower storage costs and free up space, a process achievable through either the GDC console or the \u003ccode\u003egdcloud\u003c/code\u003e CLI.\u003c/p\u003e\n"],["\u003cp\u003eTo view Harbor instances, you need the Harbor Instance Viewer role, while deleting them requires the Harbor Instance Admin role.\u003c/p\u003e\n"]]],[],null,["# Manage Harbor registry instances\n\nThis page details how to manage your created Harbor registry instances. View or\ndelete your created Harbor registry instances using the Google Distributed Cloud (GDC) air-gapped console or the GDC\ngdcloud CLI. Delete unused Harbor instance registries to lower your storage\ncosts and free up space.\n\nBefore you begin\n----------------\n\nTo view and delete Harbor registry instances, you must have the necessary\nidentity and access roles:\n\n- Harbor Instance Viewer: required to view Harbor instances. Ask your Organization IAM Admin to grant you the Harbor Instance Viewer (`harbor-instance-viewer`) role.\n- Harbor Instance Admin: required to delete Harbor instances. Ask your Organization IAM Admin to grant you the Harbor Instance Admin (`harbor-instance-admin`) role.\n\nView Harbor registry instances\n------------------------------\n\nView your created Harbor registry instances in the GDC console or use the GDC\ngdcloud CLI. \n\n### Console\n\n1. Navigate to the **Harbor Container Registry** page in the **CI/CD** section.\n2. View the list of created Harbor instances in the **Instances** section.\n3. For more detail about a specific instance, click the **Go to Harbor\n Instance** external link.\n\n### CLI\n\nView the Harbor registry instance: \n\n gdcloud harbor instances describe \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e: the name of the instance.\n- \u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e: the name of the project.\n\nDelete Harbor registry instances\n--------------------------------\n\nDelete an existing Harbor registry instance if it is no longer required. Harbor\nregistry instances in the GDC console or use the\nGDC\ngdcloud CLI. \n\n### Console\n\n1. Navigate to the **Harbor Container Registry** page under the **CI/CD** section.\n2. Click **Delete Instance**.\n3. On the confirmation dialog:\n\n 1. Click **Cancel** to stop the delete operation.\n 2. Click **Delete** to confirm the deletion of the Harbor instance.\n\n### CLI\n\nDelete the Harbor registry instance: \n\n gdcloud harbor instances delete \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e: the name of the instance.\n- \u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e: the name of the project."]]