Memilih jenis boot disk persisten untuk node cluster
Anda dapat memilih jenis boot disk persisten saat membuat cluster menggunakan
konsolGoogle Cloud , Google Cloud CLI, atau Dataproc API.
Konsol
Anda dapat membuat cluster dan memilih boot disk Persistent Disk standar, SSD, seimbang, atau Hyperdisk Seimbang untuk node cluster pengelola (master), pekerja utama, dan pekerja sekunder dari panel Konfigurasi node di halaman Buat cluster Dataproc di konsol Google Cloud .
gcloud CLI
Anda dapat membuat cluster dan memilih boot disk persisten seimbang, SSD , standar,
atau seimbang Hyperdisk untuk node cluster pengelola (master), pekerja utama, dan
pekerja sekunder menggunakan perintah
gcloud dataproc clusters create
dengan tanda --master-boot-disk-type,
--worker-boot-disk-type, dan
--secondary-worker-boot-disk-type.
Jenis persistent boot disk default untuk pengelola cluster Dataproc (master) dan
node pekerja utama adalah pd-standard. Jika jenis mesin VM hanya mendukung Hyperdisk Seimbang sebagai disk booting, disk booting default adalah hyperdisk-balanced.
Jenis persistent boot disk default untuk node pekerja sekunder cluster adalah jenis persistent boot disk node pekerja utama.
Anda dapat meneruskan nilai pd-standard, pd-ssd,
pd-balanced, atau hyperdisk-balanced ke flag
--master-boot-disk-type, --worker-boot-disk-type, dan
--secondary-worker-boot-disk-type. Nilai jenis disk yang valid dapat ditetapkan pada jenis node cluster apa pun.
Jenis disk boot default untuk pengelola (master) dan node worker utama cluster Dataproc adalah pd-standard. Jika jenis mesin VM hanya mendukung Hyperdisk Seimbang sebagai disk booting, disk booting default adalah hyperdisk-balanced. Jenis boot disk default untuk node
pekerja sekunder adalah
jenis boot disk node pekerja utama.
Anda dapat menetapkan nilai pd-standard, pd-ssd,
pd-balanced, atau hyperdisk-balanced di
kolom InstanceGroupConfig.DiskConfig.bootDiskType
dalam masterConfig, workerConfig, dan
secondaryWorkerConfig sebagai bagian dari
permintaan API cluster.create. Nilai jenis boot disk yang valid dapat ditetapkan pada jenis node cluster apa pun.
Setelan Hyperdisk
Saat membuat cluster dengan volume Hyperdisk Balanced
sebagai disk booting untuk node cluster Dataproc, Anda dapat menetapkan
IOPS dan throughput yang disediakan.
Konsol
Hyperdisk Balanced dipilih sebagai jenis disk boot utama default untuk node cluster pekerja utama dan pengelola (master) dari panel Configure nodes di halaman Create a cluster Dataproc di konsol Google Cloud . Anda dapat menyetel IOPS dan throughput, atau menerima nilai default.
gcloud CLI
Anda dapat menetapkan IOPS yang disediakan dan throughput yang disediakan untuk node cluster dengan
boot disk hyperdisk-balanced menggunakan
perintah gcloud dataproc clusters create--master-boot-disk-provisioned-iops,
--worker-boot-disk-provisioned-iops,
--master-boot-disk-provisioned-throughput, dan
flag --worker-boot-disk-provisioned-throughput.
[[["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\u003eYou can select between standard, SSD, balanced persistent disks, or hyperdisk balanced as boot disks for your Dataproc cluster nodes.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud console, gcloud CLI, and Dataproc API offer ways to choose the persistent boot disk type for master, primary worker, and secondary worker nodes during cluster creation.\u003c/p\u003e\n"],["\u003cp\u003eThe default boot disk type is \u003ccode\u003epd-standard\u003c/code\u003e, unless the VM machine type only supports hyperdisk, in which case \u003ccode\u003ehyperdisk-balanced\u003c/code\u003e is the default, and secondary workers default to the primary worker node's type.\u003c/p\u003e\n"],["\u003cp\u003eWhen using \u003ccode\u003ehyperdisk-balanced\u003c/code\u003e boot disks, you can use the gcloud CLI or the Dataproc API to set the provisioned IOPS and provisioned throughput settings for the master and worker nodes.\u003c/p\u003e\n"],["\u003cp\u003eYou are able to configure the size of the persistent boot disk as well when creating a new cluster.\u003c/p\u003e\n"]]],[],null,["You select standard, SSD, balanced [Persistent Disk](/compute/docs/persistent-disks#disk-types),\nor [Google Cloud Hyperdisk Balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) as boot disks for\nDataproc cluster nodes.\n\nSelect persistent boot disk types for cluster nodes\n\nYou can select the persistent boot disk type when you create a cluster using the\nGoogle Cloud console, Google Cloud CLI, or Dataproc API. \n\nConsole\n\nYou can create a cluster and select a standard, SSD, balanced Persistent Disk,\nor [Hyperdisk Balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) boot disk for manager (master), primary worker, and\n[secondary worker](/dataproc/docs/concepts/compute/secondary-vms)\ncluster nodes from the **Configure nodes** panel on the Dataproc\n[**Create a cluster**](https://console.cloud.google.com/dataproc/clustersAdd) page\nof the Google Cloud console.\n\ngcloud CLI\n\nYou can create a cluster and select a standard, SSD , balanced persistent boot disk,\nor [Hyperdisk balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) for manager (master), primary worker, and\n[secondary worker](/dataproc/docs/concepts/compute/secondary-vms) cluster nodes using the\n[gcloud dataproc clusters create](/sdk/gcloud/reference/dataproc/clusters/create)\ncommand with the `--master-boot-disk-type`,\n`--worker-boot-disk-type`, and\n`--secondary-worker-boot-disk-type` flags.\n\nThe default persistent boot disk type for Dataproc cluster manager (master) and\nprimary worker nodes is `pd-standard`. If the VM\n[machine type](/dataproc/docs/concepts/compute/supported-machine-types)\nsupports only [Hyperdisk Balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) as the boot disk,\nthe default boot disk is `hyperdisk-balanced`.\nThe default persistent boot disk type for cluster\nsecondary worker nodes is the primary worker node persistent boot disk type.\n\nYou can pass a value of `pd-standard`, `pd-ssd`,\n`pd-balanced`, or `hyperdisk-balanced` to the\n`--master-boot-disk-type`, `--worker-boot-disk-type`, and\n`--secondary-worker-boot-disk-type` flags. Any of the valid\ndisk type values can be set on any cluster node type.\n**Example:** \n\n```\ngcloud dataproc clusters create CLUSTER_NAME \\\n --region=REGION \\\n --master-boot-disk-type=pd-ssd \\\n --worker-boot-disk-type=hyperdisk-balanced \\\n --secondary-worker-boot-disk-type=pd-standard \\\n other args ...\n```\np You can set the size of persistent boot disks using the [`--master-boot-disk-size`](/sdk/gcloud/reference/dataproc/clusters/create#--master-boot-disk-size), [`--worker-boot-disk-size`, and](/sdk/gcloud/reference/dataproc/clusters/create#--worker-boot-disk-size)[`--secondary-worker-boot-disk-size`](/sdk/gcloud/reference/dataproc/clusters/create#--secondary-worker-boot-disk-size) flags.\n\nREST API\n\nThe default boot disk type for Dataproc cluster manager (master) and primary worker\nnodes is `pd-standard`. If the VM [machine type](/dataproc/docs/concepts/compute/supported-machine-types)\nsupports only [Hyperdisk Balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) as the boot disk,\nthe default boot disk is `hyperdisk-balanced`. The default boot disk type for\n[secondary worker](/dataproc/docs/concepts/compute/secondary-vms) nodes is the\nprimary work node boot disk type.\n\nYou can set a value of `pd-standard`, `pd-ssd`,\n`pd-balanced`, or `hyperdisk-balanced` in the\n[`InstanceGroupConfig.DiskConfig.bootDiskType`](/dataproc/docs/reference/rest/v1/InstanceGroupConfig#DiskConfig)\nfield in the `masterConfig`, `workerConfig`, and\n`secondaryWorkerConfig` as part of a\n[`cluster.create`](/dataproc/docs/reference/rest/v1/projects.regions.clusters/create)\nAPI request. Any of the valid boot disk type type values can be set on any cluster node type.\n| Note: Set the per-node boot disk **size** using the [`InstanceGroupConfig.DiskConfig.bootDiskSizeGb`](/dataproc/docs/reference/rest/v1/InstanceGroupConfig#DiskConfig) field in the master, worker, or secondary worker config.\n\nHyperdisk settings\n\nWhen you create a cluster with a Hyperdisk Balanced volume\nas the boot disk for a Dataproc cluster node, you can set the\n[provisioned IOPS and throughput](/compute/docs/disks/hd-types/hyperdisk-balanced#about-provisioned-performance-for-hyperdisk-balanced). \n\nConsole\n\n[Hyperdisk Balanced](/compute/docs/disks/hd-types/hyperdisk-balanced) is selected as the default\nprimary boot disk type for manager (master) and primary worker cluster nodes from the\n**Configure nodes** panel on the Dataproc\n[**Create a cluster**](https://console.cloud.google.com/dataproc/clustersAdd) page\nof the Google Cloud console. You can set IOPS and throughput, or accept the default\nvalues.\n\ngcloud CLI\n\nYou can set provisioned IOPS and provisioned throughput for cluster nodes with the\nhyperdisk-balanced boot disks using the\n[gcloud dataproc clusters create](/sdk/gcloud/reference/dataproc/clusters/create)\ncommand `--master-boot-disk-provisioned-iops`,\n`--worker-boot-disk-provisioned-iops`,\n`--master-boot-disk-provisioned-throughput`, and\n`--worker-boot-disk-provisioned-throughput` flags.\n**Example:** \n\n```\n gcloud dataproc clusters create CLUSTER_NAME \\\n --region=REGION \\\n --master-boot-disk-type=hyperdisk-balanced \\\n --master-boot-disk-provisioned-iops=MASTER_BOOT_DISK_IOPS \\\n --master-boot-disk-provisioned-throughput=MASTER_BOOT_DISK_THROUGHPUT \\\n --worker-boot-disk-type=hyperdisk-balanced \\\n --worker-boot-disk-provisioned-iops=WORKER_BOOT_DISK_IOPS \\\n --worker-boot-disk-provisioned-throughput=WORKER_BOOT_DISK_THROUGHPUT \\\n other args ...\n \n```\n| Secondary workers are configured with primary worker boot disk settings.\n\nREST API\n\nYou can set provisioned IOPS and provisioned throughput for cluster nodes with\nHyperdisk boot disks using the [`InstanceGroupConfig.DiskConfig.bootDiskProvisionedIops`](/dataproc/docs/reference/rest/v1/InstanceGroupConfig#DiskConfig.FIELDS.boot_disk_provisioned_iops) and [`InstanceGroupConfig.DiskConfig.bootDiskProvisionedThroughput`](/dataproc/docs/reference/rest/v1/InstanceGroupConfig#DiskConfig.FIELDS.boot_disk_provisioned_throughput) fields for\nthe manager (master) and worker configs."]]