[[["容易理解","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-09-01 (世界標準時間)。"],[],[],null,["This page describes how to resize the Google Distributed Cloud\ncontrol-plane node for the user cluster. Resizing the\ncontrol-plane node means adding or removing CPUs and changing the amount of\nmemory available to the control-plane node for the user cluster.\n\nYou cannot resize the control-plane node manually if you have enabled\n[automatic node resizing](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/node-auto-resize).\n\nTo add or remove CPUs and memory in the control-plane node: \n\nConsole\n\n1. In the console, go to the **Google Kubernetes Engine clusters overview**\n page.\n\n [Go to GKE clusters](https://console.cloud.google.com/kubernetes/list/overview)\n2. Select the Google Cloud project that the user cluster is in.\n\n3. In the list of clusters, click the cluster that you want to modify, and\n then click **View details** in the **Details** panel.\n\n4. Scroll down to the **Control Plane** section.\n\n5. Click edit **Edit**\n next to **Control-plane node CPUs** or **Control-plane node memory** ,\n change the value, and click **Done**.\n\nCommand line\n\n1. Edit the\n [user cluster configuration file](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/user-cluster-configuration-file-latest).\n Change the `masterNode.cpus` and `masterNode.memoryMB` to the values\n you want.\n\n ...\n masterNode:\n cpus: 4\n memoryMB: 8192\n # How many machines of this type to deploy\n replicas: 3\n ...\n\n2. Run this command to update the cluster:\n\n ```\n gkectl update cluster --kubeconfig ADMIN_CLUSTER_KUBECONFIG --config USER_CONFIG_FILE\n ```\n - Replace \u003cvar translate=\"no\"\u003eADMIN_CLUSTER_KUBECONFIG\u003c/var\u003e with the path of your admin cluster kubeconfig file.\n - Replace \u003cvar translate=\"no\"\u003eUSER_CONFIG_FILE\u003c/var\u003e with the path of your user cluster configuration file."]]