Marketplace API는 Kubernetes 커스텀 리소스를 사용하고 Kubernetes 리소스 모델을 기반으로 합니다. API는 설치, 업그레이드, 제거를 비롯한 작업을 통해 특정 프로젝트에서 Marketplace 서비스를 프로비저닝하고 관리하는 데 사용됩니다. GDC Marketplace API는 사용 가능한 버전을 확인하고, 서비스 인스턴스를 설치, 업그레이드 또는 제거하기 위해 프로젝트에서 객체를 생성, 수정 또는 삭제하는 데도 사용됩니다.
서비스 엔드포인트 및 검색 문서
다음 URL은 Marketplace API의 API 엔드포인트입니다.
https://MANAGEMENT_API_SERVER_ENDPOINT/apis/marketplace.gdc.goog/v1
여기서 MANAGEMENT_API_SERVER_ENDPOINT은 관리 API 서버의 엔드포인트입니다.
kubectl proxy 명령어를 사용하여 브라우저 또는 curl과 같은 도구로 해당 URL에 액세스하여 Marketplace API의 검색 문서를 가져올 수 있습니다.
kubectl proxy 명령어는 로컬 머신에서 Kubernetes API 서버로의 프록시를 엽니다. 명령어가 실행 중일 때 다음 URL에서 문서에 액세스합니다.
원하는 서비스를 설치하려면 kubectl create를 사용하여 프로젝트의 네임스페이스에 객체를 만듭니다. 서비스 인스턴스를 업그레이드하려면 해당 서비스의 버전을 나타내도록 수정합니다. HTTP 클라이언트를 사용하거나 kubectl apply, kubectl patch, kubectl edit 명령어를 사용하여 객체를 직접 수정할 수 있습니다. 서비스 인스턴스를 제거하려면 kubectl delete로 객체를 삭제합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 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`."]]