"Managed Service for Apache Spark" is the new name for the product formerly known as "Dataproc on Compute Engine" (cluster deployment) and "Google Cloud Serverless for Apache Spark" (serverless deployment).
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
提供意見
最低 CPU 平台
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
這項功能可為 Managed Service for Apache Spark 叢集選擇最低 CPU 平台 。舉例來說,建立叢集時,您可以為叢集節點選取 Intel Skylake CPU,以提升工作效能。
使用這項功能前,請先參閱適用區域與可用區 一節,查看各可用區內適用的平台列表。您也可以執行 gcloud compute zones describe zone 指令,列出叢集可用區中的 availableCpuPlatforms。詳情請參閱「指定 VM 執行個體的最低 CPU 平台 」。
控制台
如要為叢集節點指定最低 CPU 平台,請按照下列步驟操作:
開啟「Create cluster」(建立叢集) 頁面。
在「Worker configuration」(工作人員設定) 區段的「CPU platform and GPU」(CPU 平台和 GPU) 下,確認或選取 CPU 平台。
根據預設,驅動程式 (主要) 節點設定與主要 worker 設定相同。
在「其他設定」 下方,您可以編輯「driver 節點」 ,取消勾選「將 driver 節點預設為與主要 worker 相同」 核取方塊,然後指定 driver 節點設定。
gcloud CLI 指令
要為叢集的主要執行個體和/或 worker (包括先占) 節點指定最低 CPU 平台,請將下列其中一或二個旗標傳遞至 gcloud dataproc clusters create 指令:
gcloud dataproc clusters create \
--region=region \
--master-min-cpu-platform=cpu-platform-name \
--worker-min-cpu-platform=cpu-platform-name \
other args ...
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-07-11 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-07-11 (世界標準時間)。"],[],[]]