Google Distributed Cloud 上の VM ランタイムは、Google Distributed Cloud(ソフトウェアのみ)のベアメタルへのインストールで仮想マシンベースのワークロードを実行するための、重要なコンポーネントです。
GDC 上の VM ランタイムとは
GDC 上の VM ランタイムは、Google Distributed Cloud の一部であり、コンテナを実行するのと同じ方法で Kubernetes 上で VM を実行できます。GDC 上の VM ランタイムを使用することで、新しいコンテナベースのアプリケーションを開発、実行するとともに、既存の VM ベースのワークロードを実行することもできます。GDC 上の VM ランタイムは、別の仮想化環境のハイパーバイザに似ています。
GDC 上の VM ランタイムを使用すると、VM の状態の表示と管理、監査ログやコンソールログの収集ができます。GDC 上の VM ランタイムは、他の仮想化環境で使用されている管理コンソール ツールのように機能します。
GDC 上の VM ランタイムを使用するために、既存の VM ベースのワークロードをモダナイズまたはアップグレードすることは、必須ではありません。VM は他の仮想化環境と同じように動作しますが、クラスタ内のアプリケーションに対して、一連のワークフローやプロセスを利用できます。準備ができたときにこれらの VM ベースのワークロードをコンテナに移行できますし、同じ Google Kubernetes Engine(GKE)Enterprise エディションの管理ツールも引き続き使用できます。
利点
GDC 上の VM ランタイムには、次の利点があります。
コンテナを使用する場合と同様に、VM リソースをプログラマティックに使用できます。
コンテナと VM 間でリソースを効率的に使用できます。
VM とコンテナを統合的に管理、運用できます。
新しいコンテナ化されたアプリケーションと従来の VM ベースアプリとの間のトラフィックを一元的に可視化して制御できます。
クラウドやコンテナ化されたアプリへの移行を簡素化できます。
GDC 上の VM ランタイムによって、ベアメタル クラスタの上への VM の移行や新しい VM の構築が容易になります。
GDC 上の VM ランタイムと KubeVirt の違い
GDC 上の VM ランタイムは、KubeVirt オープンソース プロジェクト上に構築されています。Kubevirt は Kubernetes 専用に構築されており、宣言型 API モデルに従って Kubernetes リソースモデル、カスタム リソース定義、オペレーターを使用します。GDC 上の VM ランタイムは、Kubevirt を Google Distributed Cloud のソフトウェア専用インストールに統合し、アプリケーションを管理する一貫した方法を提供します。このセクションでは、KubeVirt で利用できない GDC 上の VM ランタイムの主な機能の一部について説明します。
ライフサイクル
GKE Enterprise の機能を活用する GDC 上の VM ランタイムは、GKE Enterprise プラットフォームと完全に統合されています。GDC 上の VM ランタイムは、CLI コマンド、API、または Google Cloud コンソールを使用して、インストール、アップグレード、アンインストールできます。互換性のあるストレージで使用する場合、GKE クラスタのアップグレードには、VM ワークロードの停止を最小限に抑えるために、ホスト間での VM ワークロードのライブ マイグレーション(プレビュー)が含まれます。
クラウドを基盤とする管理機能
GDC 上の VM ランタイムは、オンプレミスでのインストールに関してクラウド同様のエクスペリエンスを提供します。この操作環境には、クラウドに類似した次に挙げるような新しい基本要素が含まれています。
VirtualMachineType オブジェクトを使用すると、管理者は特定の CPU とメモリ構成で事前定義された VM タイプを作成できます。
[[["わかりやすい","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-07-22 UTC。"],[],[],null,["VM Runtime on Google Distributed Cloud is the key component for running virtual machine-based\nworkloads in installations of Google Distributed Cloud (software only) on bare\nmetal.\n\nWhat is VM Runtime on GDC?\n\nVM Runtime on GDC is a part of Google Distributed Cloud that lets you\nrun VMs on top of Kubernetes in the same way that you run containers. With\nVM Runtime on GDC, you can run existing VM-based workloads as you\nalso develop and run new container-based applications.\nVM Runtime on GDC is like the hypervisor in another virtualized\nenvironment.\n\nVM Runtime on GDC lets you view and manage the state of VMs and\ngather audit or console logs. VM Runtime on GDC acts like management\nconsole tools that are used in other virtualized environments.\n\nYou aren't forced to modernize or upgrade existing VM-based workloads to use\nVM Runtime on GDC. VMs run like they do in other virtualized\nenvironments, but benefit from a single set of workflows and processes for your\napplications in a cluster. When you're ready, you can migrate these VM-based\nworkloads to containers and continue using the same management tools.\n\nBenefits\n\nThe VM Runtime on GDC has the following benefits:\n\n- Ability to use VM resources programmatically, like you use containers.\n- Efficient use of resources across containers and VMs.\n- Unified management and operation for VMs and containers.\n- Unified visibility and control for traffic between new containerized applications and legacy VM-based apps.\n- A simplified migration experience to cloud or containerized apps.\n\nThe VM Runtime on GDC helps you migrate your VMs, or build new ones,\non top of your bare metal cluster.\n\nHow VM Runtime on GDC differs from KubeVirt\n\nVM Runtime on GDC builds on the [KubeVirt open source\nproject](https://kubevirt.io/). Kubevirt is built specifically for Kubernetes,\nand follows the declarative API model to use the Kubernetes Resource Model,\ncustom resource definitions, or operators. VM Runtime on GDC\nintegrates Kubevirt into your Google Distributed Cloud software-only installation\nto give a consistent way to manage your applications. This section outlines some\nof the key capabilities of VM Runtime on GDC that aren't available\nin KubeVirt.\n\nLifecycle\n\nBuilding on the power of Google Kubernetes Engine,\nVM Runtime on GDC is fully integrated with the\nGoogle Cloud. You can install, upgrade, and uninstall\nVM Runtime on GDC with a CLI command, through the API, or by using\nthe Google Cloud console. When used with compatible storage,\ncluster upgrades include *live migration* of VM workloads\n([Preview](/products#product-launch-stages)) between hosts to minimize\npotential VM workload disruption.\n\nCloud-backed management experience\n\nVM Runtime on GDC provides a cloud-like experience for your on-premises\ninstallation. This experience includes the following new cloud-like primitives:\n\n- `VirtualMachineType` object lets administrators create\n [predefined VM types](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/compute-configurations)\n with specific CPU and memory configurations.\n\n- `VirtualMachineDisk` and `StorageProfile` objects add\n [support for multiple disks](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/create-manage-disks) and\n [centralized management of `StorageClass` properties](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/storage-classes).\n\n- `Network` object enables\n [virtual switch-like capabilities](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/create-networks)\n in Kubernetes.\n\nStorage\n\nVM Runtime on GDC automatically generates a storage profile object,\n`StorageProfile`, for each `StorageClass` in a cluster. This new profile object\nlets you\n[configure `StorageClass` properties for VMs](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/storage-classes#configure_storage_profiles),\nincluding `accessMode` and `volumeMode`, from a single location.\n\nYou can attach multiple disks to a VM. You can attach an existing disk or you\ncan create and attach new disks. The new `VirtualMachineDisk` custom resource\nlets you create blank disks or disks from existing images using the bundled\nContainerized Data Importer (CDI). CDI even lets you pull\n[images from Cloud Storage secured with credentials](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/create-storage-credentials).\n\nNetworking\n\nVM Runtime on GDC expands on the default `pod-network` offering of\nKubeVirt to provide\n[networking options more suitable for production VM workloads](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/create-networks#create_and_use_virtual_networks).\nVM Runtime on GDC extends the existing network stack that's based on\nContainer Network Interface (CNI) framework. VM Runtime on GDC adds\na `Network` object that enables virtual switch-like capabilities in Kubernetes.\nWhile network plugins are available for Kubernetes, they require their own\ninstallation, lifecycle, and management. With VM Runtime on GDC, out\nof the box VMs can interact with multiple Layer 2 network interfaces, including\nsupport for VLAN tags, external DHCP, and more. VM Runtime on GDC\nalso introduces the interfaces object, which enables both IP and MAC address\nstickiness even if VMs are restarted, migrated, or recreated. The new network\nstack also integrates with `NetworkPolicy` so you can use Kubernetes primitives\nto control Layer 4 traffic between VMs.\n\nObservability\n\nVM Runtime on GDC automatically supports VM observability in the\nGoogle Cloud console. In addition to the GKE cluster and\nVM Runtime on GDC logging,\n[VM serial console](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/view-console-logs) logs are\nautomatically streamed to Cloud Logging. Your VM logs can be viewed in the\n[Logs Explorer](/logging/docs/view/logs-explorer-interface) along with\ncontainer logs. You can see VM CPU, memory, disk, and network metrics in the\nGoogle Cloud console. You can also implement dashboards, alerts, and integration\nwith notifications using familiar Google Cloud services.\n\nManagement\n\nMost VM Runtime on GDC capabilities are available from the command\nline, APIs, and Google Cloud console. This flexible approach supports multiple\ndeveloper and operational styles. The Google Cloud produccts Config Sync\nand Policy Controller can also be used to implement both GitOps\nmethodology and granular policies. Finally, KubeVirt tools, such as `virtctl`,\nhave also been extended to support the additional VM Runtime on GDC\ncapabilities.\n\nGPU Support\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nVM Runtime on GDC lets you\n[enable supported NVIDIA GPU cards](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/use-gpu)\nin your VMs, enabling machine learning and other specialized workloads.\n\nGet started\n\nTo start using VM Runtime on GDC, see the following documents:\n\n- [Enable or disable VM Runtime on GDC](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/enable-disable)\n- [Quickstart: Create a VM](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/quickstart)\n- [Manage the power state of VMs that use VM Runtime on GDC](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/manage-power-state)\n- [View console logs for VMs that use VM Runtime on GDC](/kubernetes-engine/distributed-cloud/bare-metal/docs/vm-runtime/view-console-logs)"]]