sincecutoff.com
← all changes

gcloud dataproc clusters create adds --master-machine-types

Introduced 2026-06-30 · score 0.93

HOW TO USE IT

When creating a Dataproc cluster that needs a specified master machine type, pass `--master-machine-types` with one or more `type=<MACHINE_TYPE>` entries and an optional `rank=<RANK>` to `gcloud dataproc clusters create`.

gcloud dataproc clusters create <cluster> --region=<region> --master-machine-types="type=<MACHINE_TYPE>"
gcloud dataproc clusters create <cluster> --region=<region> --master-machine-types="type=<MACHINE_TYPE_1>,type=<MACHINE_TYPE_2>,rank=<RANK>"

WHY THIS HELPS

Create a Dataproc cluster with the required master machine type.

REQUIREMENTS AND LIMITATIONS

  • <cluster> (required): Cluster ID or fully qualified cluster identifier.
  • --region=<region> (required): Region for the cluster.
  • --master-machine-types: Machine types for master nodes; defaults to server-specified when omitted.
  • type=<MACHINE_TYPE> (required): A machine type to use for master nodes; repeat `type=` to provide alternatives.
  • rank=<RANK>: Optional rank value accepted by the flag; the docs do not explain its effect for master nodes.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card