Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'API Marketplace utilizza risorse personalizzate Kubernetes e si basa sul modello di risorse Kubernetes. Le API vengono utilizzate per il provisioning e l'amministrazione dei servizi Marketplace in un determinato progetto tramite azioni che includono l'installazione, l'upgrade e la disinstallazione. Le API GDC Marketplace vengono utilizzate anche per visualizzare le versioni disponibili, creare, modificare o eliminare oggetti nel progetto per installare, eseguire l'upgrade o disinstallare istanze di un servizio.
Endpoint di servizio e documento di rilevamento
Il seguente URL è l'endpoint API per le API Marketplace:
https://MANAGEMENT_API_SERVER_ENDPOINT/apis/marketplace.gdc.goog/v1
dove MANAGEMENT_API_SERVER_ENDPOINT è l'endpoint del
server API Management.
Utilizzando il comando kubectl proxy, puoi accedere a questo URL nel browser o con uno strumento come curl per ottenere il documento di rilevamento per l'API Marketplace.
Il comando kubectl proxy apre un proxy al server API Kubernetes sulla tua macchina locale. Mentre il comando è in esecuzione, accedi al documento al seguente URL:
Crea un oggetto nello spazio dei nomi di un progetto con kubectl create per installare il servizio che preferisci. Per eseguire l'upgrade di un'istanza di servizio, modificala per indicare la versione del servizio. Puoi modificare l'oggetto direttamente con un client HTTP o utilizzando i comandi kubectl apply, kubectl patch o kubectl edit. Per disinstallare un'istanza di servizio, elimina l'oggetto con kubectl delete.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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`."]]