Send feedback
Resizing the control plane node for a user cluster
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.15 keyboard_arrow_down
This page describes how to resize the Google Distributed Cloud
control-plane node for the user cluster. Resizing the
control-plane node means adding or removing CPUs and changing the amount of
memory available to the control-plane node for the user cluster.
You cannot resize the control-plane node manually if you have enabled
automatic node resizing .
To add or remove CPUs and memory in the control-plane node:
Console
In the console, go to the Google Kubernetes Engine clusters overview
page.
Go to GKE clusters
Select the Google Cloud project that the user cluster is in.
In the list of clusters, click the cluster that you want to modify, and
then click View details in the Details panel.
Scroll down to the Control Plane section.
Click edit Edit
next to Control-plane node CPUs or Control-plane node memory ,
change the value, and click Done .
Command line
Edit the
user cluster configuration file .
Change the masterNode.cpus
and masterNode.memoryMB
to the values
you want.
...
masterNode:
cpus: 4
memoryMB: 8192
# How many machines of this type to deploy
replicas: 3
...
Run this command to update the cluster:
gkectl update cluster --kubeconfig ADMIN_CLUSTER_KUBECONFIG --config USER_CONFIG_FILE
Replace ADMIN_CLUSTER_KUBECONFIG with the path of your admin cluster kubeconfig file.
Replace USER_CONFIG_FILE with the path of your user cluster configuration file.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]