Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Object Storage API menggunakan resource kustom Kubernetes dan mengandalkan Model Resource Kubernetes. API ini digunakan untuk penyediaan dan administrasi resource penyimpanan objek. API ini digunakan untuk mengelola siklus proses resource penyimpanan objek dalam organisasi tertentu, termasuk membuat, membaca, memperbarui, dan menghapus bucket. API ini juga digunakan untuk mencantumkan bucket, menetapkan kebijakan retensi bucket, dan menetapkan kelas penyimpanan bucket. Block storage dikelola dengan Kubernetes API standar.
Endpoint layanan dan dokumen penemuan
API KRM Storage disediakan dalam tiga paket, bergantung pada deployment zonal atau deployment global.
Endpoint API untuk Storage API zonal dan global adalah sebagai berikut:
Variabel MANAGEMENT_API_SERVER_ENDPOINT adalah
endpoint server Management API.
Dengan menggunakan perintah kubectl proxy, Anda dapat mengakses URL tersebut di browser atau dengan alat seperti curl untuk mendapatkan dokumen penemuan Object Storage API. Perintah kubectl proxy membuka proxy ke server Kubernetes API di mesin lokal Anda. Setelah perintah tersebut berjalan, Anda dapat mengakses dokumen di
URL berikut:
Google Distributed Cloud (GDC) air-gapped Object Storage XML API adalah antarmuka RESTful yang memungkinkan Anda mengelola data penyimpanan objek secara terprogram. Sebagai RESTful API, API ini mengandalkan informasi metode dan cakupan untuk menentukan operasi yang akan dilakukan:
Informasi metode. Anda menentukan informasi metode dengan metode HTTP standar, seperti DELETE, GET, HEAD, dan PUT.
Informasi cakupan. Anda menentukan informasi cakupan dengan endpoint (URI) yang dapat diakses dan berbagai parameter cakupan. Untuk XML API, parameter cakupan utama adalah nama bucket dan objek. Cakupan operasi Anda lebih lanjut dengan menggunakan header HTTP dan parameter string kueri.
Ringkasan Volume Storage API
Untuk membuat volume persisten, ikuti langkah-langkah yang diuraikan dalam dokumentasi Kubernetes di https://kubernetes.io/docs/concepts/storage/persistent-volumes/. Interaksi dengan Volume Storage dalam GDC sepenuhnya terjadi melalui primitif penyimpanan Kubernetes. Driver Volume Storage menerapkan protokol Container Storage Interface (CSI) serta menyediakan dan mengatur volume dalam sistem penyimpanan, yang tidak terlihat oleh pengguna akhir volume persisten.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eObject Storage APIs utilize Kubernetes custom resources for provisioning and managing object storage, including bucket creation, reading, updating, deletion, retention policies, and storage class settings.\u003c/p\u003e\n"],["\u003cp\u003eThe Storage KRM APIs are available in three packages based on zonal or global deployment, with specific API endpoints provided for each scenario.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Distributed Cloud air-gapped Object Storage XML API, a RESTful interface, uses HTTP methods and scoping parameters like bucket and object names for managing data programmatically.\u003c/p\u003e\n"],["\u003cp\u003eVolume storage in GDC is managed using standard Kubernetes APIs and persistent volume creation, and employs the Container Storage Interface (CSI) protocol, with a single supported storage class: standard-rwo.\u003c/p\u003e\n"]]],[],null,["# Storage API overview\n\nThe Object Storage API uses Kubernetes custom resources and relies on the Kubernetes Resource Model. The APIs are used for the provisioning and administration of object storage resources. They are used to manage the lifecycle of object storage resources in a given organization, including creating, reading, updating, and deleting buckets. The APIs are also used for listing buckets, setting bucket retention policies, and setting the storage class of buckets. Block storage is managed with standard Kubernetes APIs.\n\nService endpoint and discovery document\n---------------------------------------\n\nThe Storage KRM APIs are provided in three packages depending on zonal deployment or\nglobal deployment.\n\nThe API endpoints for the zonal and global Storage APIs are the following,\nrespectively:\n\n- `https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/object.gdc.goog/v1`\n- `https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/object.global.gdc.goog/v1`\n- `https://`\u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e`/apis/storage.global.gdc.goog/v1`\n\nThe \u003cvar translate=\"no\"\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e variable is the\nendpoint of the Management 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 Object Storage API. The `kubectl proxy` command opens a proxy to the Kubernetes API server on your local machine. After that command is running, you can access the document at\nthe following URLs:\n\n- `http://127.0.0.1:8001/apis/object.gdc.goog/v1`\n- `http://127.0.0.1:8001/apis/object.global.gdc.goog/v1`\n- `http://127.0.0.1:8001/apis/storage.global.gdc.goog/v1`\n\nS3 REST API overview\n--------------------\n\nThe Google Distributed Cloud (GDC) air-gapped Object Storage XML API is a RESTful interface that lets you manage object storage data in a programmatic way. As a RESTful API, it relies on method and scoping information to define the operations to perform:\n\n- **Method information** . You specify the method information with standard HTTP methods, such as `DELETE`, `GET`, `HEAD`, and `PUT`.\n- **Scoping information**. You specify the scoping information with an accessible endpoint (URI) and various scoping parameters. For the XML API, the primary scoping parameters are the bucket and object names. Further scope your operations by using HTTP headers and query string parameters.\n\nVolume Storage API overview\n---------------------------\n\nTo create persistent volumes, follow the steps outlined by the Kubernetes documentation at \u003chttps://kubernetes.io/docs/concepts/storage/persistent-volumes/\u003e. Interaction with Volume Storage within GDC occurs entirely through Kubernetes storage primitives. The Volume Storage driver implements the Container Storage Interface (CSI) protocol and provisions and orchestrates the volumes in the storage system, opaque to the end user of the persistent volume.\n\nGDC supports a single storage class of type *standard-rwo* . See \u003chttps://kubernetes.io/docs/concepts/storage/storage-classes/\u003e for more information on storage classes."]]