Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit dieser Funktion können Sie eine Mindest-CPU-Plattform für Ihre Dataproc-Cluster auswählen. Wenn Sie einen Cluster erstellen, können Sie zum Beispiel für die Master- und/oder Worker-Instanzen des Clusters Intel Skylake-CPUs auswählen, um die Jobleistung zu verbessern.
Bevor Sie diese Funktion verwenden, ermitteln Sie unter Verfügbare Regionen und Zonen, welche Plattformen in den einzelnen Zonen verfügbar sind. Sie können auch den Befehl gcloud compute zones describe zone zum Auflisten der availableCpuPlatforms in der Zone des Clusters ausführen. Weitere Informationen finden Sie unter Mindest-CPU-Plattform für VM-Instanzen angeben.
Mindest-CPU-Plattform verwenden
gcloud-Befehl
Um eine Mindest-CPU-Plattform für die Master- und/oder Worker-Knoten (einschließlich der Knoten auf Abruf) des Clusters festzulegen, übergeben Sie eines oder beide der folgenden Flags an den Befehl gcloud dataproc clusters create:
Um eine Mindest-CPU-Plattform für die Master-, primären und/oder sekundären Worker-Knoten (auf Abruf) Ihres Clusters festzulegen, legen Sie das minCpuPlatform-Feld in InstanceGroupConfig für Ihre Master-, primären und/oder sekundären Instanzen (auf Abruf) in Ihrer cluster.create-Anfrage fest.
Konsole
Sie können eine Mindest-CPU-Plattform für die Master- und Worker-Knoten des Clusters in den Abschnitten „CPU PLATFORM AND GPU“ → „CPU-Plattform“ im Bereich „Knoten konfigurieren“ auf der Seite Cluster erstellen in der Google Cloud -Konsole festlegen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis feature lets you choose a minimum CPU platform for Cloud Dataproc clusters, like Intel Skylake, to enhance job performance.\u003c/p\u003e\n"],["\u003cp\u003eYou can find the available CPU platforms for each zone by checking the "Available regions & zones" or by using the \u003ccode\u003egcloud compute zones describe\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egcloud dataproc clusters create\u003c/code\u003e command allows you to specify minimum CPU platforms for master and worker nodes using the \u003ccode\u003e--master-min-cpu-platform\u003c/code\u003e and \u003ccode\u003e--worker-min-cpu-platform\u003c/code\u003e flags.\u003c/p\u003e\n"],["\u003cp\u003eUsing the REST API, you can set the \u003ccode\u003eminCpuPlatform\u003c/code\u003e field in the \u003ccode\u003eInstanceGroupConfig\u003c/code\u003e to define the minimum CPU platform for master, primary, and secondary worker nodes.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Cloud console, specifically the "Create a cluster" page under the "CPU PLATFORM AND GPU" section, offers a way to select a minimum CPU platform for both master and worker nodes.\u003c/p\u003e\n"]]],[],null,["This feature lets you select a\n[minimum CPU platform](/compute/docs/instances/specify-min-cpu-platform)\nfor your Dataproc clusters. For example, when you create a cluster,\nyou can select Intel Skylake CPUs for the cluster's master\nand/or worker instances to improve job performance.\n\nBefore using this feature, see [Available regions \\& zones](/compute/docs/regions-zones#available), which lists\nthe platforms available in each zone. You can also run the\n`gcloud compute zones describe `\u003cvar translate=\"no\"\u003ezone\u003c/var\u003e command to list\nthe `availableCpuPlatforms` in your cluster's zone. For more information, see\n[Specifying a minimum CPU platform for VM instances](/compute/docs/instances/specify-min-cpu-platform).\n\nUse minimum CPU platform \n\ngcloud command\n\nTo specify a minimum CPU platform for your cluster's master and/or worker (including\npreemptible) nodes, pass one or both of the following flags to the\n[`gcloud dataproc clusters create`](/sdk/gcloud/reference/dataproc/clusters/create)\ncommand: \n\n```\ngcloud dataproc clusters create \\\n --region=region \\\n --master-min-cpu-platform=cpu-platform-name \\\n --worker-min-cpu-platform=cpu-platform-name \\\n other args ...\n```\n\nREST API\n\nTo specify a minimum CPU platform for your cluster's master, primary worker,\nand/or secondary (preemptible) worker nodes, set the `minCpuPlatform` field in\n[InstanceGroupConfig](/dataproc/docs/reference/rest/v1/ClusterConfig#InstanceGroupConfig)\nfor your master, primary worker, and/or secondary (preemptible) instances in your\n[cluster.create](/dataproc/docs/reference/rest/v1/projects.regions.clusters/create)\nrequest.\n\nConsole\n\nYou can specify a minimum CPU platform for your cluster's master and worker\nnodes using the CPU PLATFORM AND GPU→CPU platform sections of the\nConfigure nodes panel on the [Create a cluster](https://console.cloud.google.com/dataproc/clustersAdd)\npage in the Google Cloud console."]]