Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Die Marketplace API verwendet benutzerdefinierte Kubernetes-Ressourcen und basiert auf dem Kubernetes-Ressourcenmodell. Die APIs werden für die Bereitstellung und Verwaltung der Marketplace-Dienste in einem bestimmten Projekt verwendet, z. B. für die Installation, das Upgrade und die Deinstallation. Die GDC Marketplace APIs werden auch verwendet, um verfügbare Versionen zu sehen, Objekte in Ihrem Projekt zu erstellen, zu ändern oder zu löschen, um Instanzen eines Dienstes zu installieren, zu aktualisieren oder zu deinstallieren.
Dienstendpunkt und Discovery-Dokument
Die folgende URL ist der API-Endpunkt für die Marketplace-APIs:
https://MANAGEMENT_API_SERVER_ENDPOINT/apis/marketplace.gdc.goog/v1
Dabei ist MANAGEMENT_API_SERVER_ENDPOINT der Endpunkt des Management API-Servers.
Mit dem Befehl kubectl proxy können Sie in Ihrem Browser oder mit einem Tool wie curl auf diese URL zugreifen, um das Discovery-Dokument für die Marketplace API abzurufen.
Mit dem Befehl kubectl proxy wird ein Proxy zum Kubernetes API-Server auf Ihrem lokalen Computer geöffnet. Rufen Sie das Dokument unter der folgenden URL auf, während der Befehl ausgeführt wird:
Erstellen Sie mit kubectl create ein Objekt im Namespace eines Projekts, um den gewünschten Dienst zu installieren. Wenn Sie eine Dienstinstanz aktualisieren möchten, müssen Sie angeben, welche Version des Dienstes verwendet werden soll. Sie können das Objekt direkt mit einem HTTP-Client oder mit den Befehlen kubectl apply, kubectl patch oder kubectl edit ändern. Wenn Sie eine Dienstinstanz deinstallieren möchten, löschen Sie das Objekt mit kubectl delete.
[[["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\u003eThe Marketplace API utilizes Kubernetes custom resources and the Kubernetes Resource Model for managing Marketplace services.\u003c/p\u003e\n"],["\u003cp\u003eActions like installing, upgrading, and uninstalling services within a project are facilitated through the Marketplace APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint for the Marketplace APIs is located at \u003ccode\u003ehttps://\u003c/code\u003e\u003cvar translate=no\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e\u003ccode\u003e/apis/marketplace.gdc.goog/v1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe discovery document for the Marketplace API can be accessed via the \u003ccode\u003ekubectl proxy\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekubectl create\u003c/code\u003e, \u003ccode\u003ekubectl apply\u003c/code\u003e, \u003ccode\u003ekubectl patch\u003c/code\u003e, \u003ccode\u003ekubectl edit\u003c/code\u003e, and \u003ccode\u003ekubectl delete\u003c/code\u003e commands are used to manage service instances.\u003c/p\u003e\n"]]],[],null,["# Marketplace API overview\n\nThe Marketplace API uses Kubernetes custom resources and relies on the Kubernetes Resource Model. The APIs are used for the provisioning and administration of the Marketplace services in a given project through actions that include installing, upgrading, and uninstalling. The GDC Marketplace APIs are also used to see available versions, create, modify, or delete objects in your project to install, upgrade, or uninstall instances of a service.\n\nService endpoint and discovery document\n---------------------------------------\n\nThe following URL is the API endpoint for the Marketplace APIs:\n`https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/marketplace.gdc.goog/v1`\nwhere \u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e is the endpoint of the\nManagement API server.\n\nUsing 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 Marketplace API.\nThe `kubectl proxy` command opens up a proxy to the Kubernetes API server on your local machine. When the command is running, access the document at the following URL:\n\n`http://127.0.0.1:8001/apis/marketplace.gdc.goog/v1`\n\nCreate an object in a project's namespace with `kubectl create` to install the service you want. To upgrade a service instance, modify it to indicate which version of that service. You can modify the object directly with an HTTP client or by using the `kubectl apply`, `kubectl patch`, or `kubectl edit` commands. To uninstall a service instance, delete the object with `kubectl delete`."]]