Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Virtual Machine Manager (VMM) yang terisolasi dari internet di Google Distributed Cloud (GDC) menggunakan API Model Resource Kubernetes (KRM) dalam operasi virtual machine (VM) dan pengelolaan siklus prosesnya.
Gunakan kubectl CLI untuk VMM API.
Endpoint layanan
API KRM VMM disediakan dalam dua paket, bergantung pada deployment zonal atau deployment global.
Endpoint API untuk VMM API zonal dan global adalah sebagai berikut:
Variabel MANAGEMENT_API_SERVER_ENDPOINT adalah
endpoint server Management API.
Dokumen Discovery
Gunakan perintah kubectl proxy untuk membuka proxy ke server API di mesin lokal Anda. Dari sana, Anda dapat mengakses dokumen penemuan di salah satu
URL berikut:
File VirtualMachineImageImport berikut menunjukkan pembuatan image disk
dari persistent disk. Anda memilih persistent
disk dari daftar VirtualMachineDisk dan memilihnya untuk membuat image serta mendapatkan
parameter size dari sumber. Contoh yang sama ada di halaman
Membuat gambar kustom.
apiVersion:virtualmachine.gdc.goog/v1kind:VirtualMachineImageImportmetadata:name:VM_IMAGE_IMPORT_NAME# Name of the VM image you want to import.spec:source:diskRef:name:DISK_NAME# Name of the source disk that you will use to create your image.imageMetadata:name:IMAGE_NAME# Name of your created VM image.operatingSystem:OS_NAME# Name of the image OS.minimumDiskSize:MINIMUM_DISK_SIZE# Disk size in the VM image. It must be greater than or equal to the source disk size. An example value is 20G.
[[["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-07-16 UTC."],[[["The Virtual Machine Manager (VMM) in Google Distributed Cloud (GDC) air-gapped uses Kubernetes Resource Model (KRM) APIs for managing virtual machine (VM) operations and their lifecycle."],["VMM APIs are accessed using the `kubectl` CLI tool, with distinct packages for zonal and global deployments."],["The API endpoints for zonal and global VMM are located at `https://MANAGEMENT_API_SERVER_ENDPOINT/apis/virtualmachine.gdc.goog/v1` and `https://MANAGEMENT_API_SERVER_ENDPOINT/apis/virtualmachine.global.gdc.goog/v1`, respectively."],["You can access the discovery document for each deployment using the `kubectl proxy` command with the corresponding URL based on whether it's zonal or global."],["A `VirtualMachineImageImport` example demonstrates creating a disk image from a persistent disk, including details like the source disk name, image name, OS, and minimum disk size."]]],[]]