mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-15 09:25:44 +00:00
gcloud: Wed Oct 25 11:42:23 UTC 2023
This commit is contained in:
parent
a15665661a
commit
d34c41a2ce
305 changed files with 5549 additions and 699 deletions
|
|
@ -182,10 +182,10 @@ FLAGS
|
|||
Size for node VM boot disks in GB. Defaults to 100GB.
|
||||
|
||||
--disk-type=DISK_TYPE
|
||||
Type of the node VM boot disk. For version 1.24.0+, defaults to
|
||||
pd-balanced. Before version 1.24.0, defaults to pd-standard. DISK_TYPE
|
||||
must be one of: pd-standard, pd-ssd, pd-balanced, hyperdisk-balanced,
|
||||
hyperdisk-extreme, hyperdisk-throughput.
|
||||
Type of the node VM boot disk. For version 1.24 and later, defaults to
|
||||
pd-balanced. For versions earlier than 1.24, defaults to pd-standard.
|
||||
DISK_TYPE must be one of: pd-standard, pd-ssd, pd-balanced,
|
||||
hyperdisk-balanced, hyperdisk-extreme, hyperdisk-throughput.
|
||||
|
||||
--enable-autoprovisioning
|
||||
Enables Cluster Autoscaler to treat the node pool as if it was
|
||||
|
|
@ -286,9 +286,9 @@ FLAGS
|
|||
|
||||
$ gcloud compute machine-types list
|
||||
|
||||
You can also specify custom machine types with the string
|
||||
"custom-CPUS-RAM" where "CPUS" is the number of virtual CPUs and "RAM"
|
||||
is the amount of RAM in MiB.
|
||||
You can also specify custom machine types by providing a string with
|
||||
the format "custom-CPUS-RAM" where "CPUS" is the number of virtual CPUs
|
||||
and "RAM" is the amount of RAM in MiB.
|
||||
|
||||
For example, to create a node pool using custom machines with 2 vCPUs
|
||||
and 12 GB of RAM:
|
||||
|
|
|
|||
|
|
@ -12,9 +12,11 @@ SYNOPSIS
|
|||
| --node-taints=[NODE_TAINT,...]
|
||||
| --system-config-from-file=SYSTEM_CONFIG_FROM_FILE
|
||||
| --tags=[TAG,...] | --windows-os-version=WINDOWS_OS_VERSION
|
||||
| --workload-metadata=WORKLOAD_METADATA | --enable-autoprovisioning
|
||||
--enable-autoscaling --location-policy=LOCATION_POLICY
|
||||
--max-nodes=MAX_NODES --min-nodes=MIN_NODES
|
||||
| --workload-metadata=WORKLOAD_METADATA | --disk-size=DISK_SIZE
|
||||
--disk-type=DISK_TYPE --machine-type=MACHINE_TYPE
|
||||
| --enable-autoprovisioning --enable-autoscaling
|
||||
--location-policy=LOCATION_POLICY --max-nodes=MAX_NODES
|
||||
--min-nodes=MIN_NODES
|
||||
--total-max-nodes=TOTAL_MAX_NODES --total-min-nodes=TOTAL_MIN_NODES
|
||||
| --enable-autorepair --enable-autoupgrade
|
||||
| --enable-blue-green-upgrade --enable-surge-upgrade
|
||||
|
|
@ -248,6 +250,35 @@ REQUIRED FLAGS
|
|||
This feature can only be enabled if Workload Identity is enabled
|
||||
at the cluster level.
|
||||
|
||||
Node config
|
||||
|
||||
--disk-size=DISK_SIZE
|
||||
Size for node VM boot disks in GB. Defaults to 100GB.
|
||||
|
||||
--disk-type=DISK_TYPE
|
||||
Type of the node VM boot disk. For version 1.24 and later, defaults
|
||||
to pd-balanced. For versions earlier than 1.24, defaults to
|
||||
pd-standard. DISK_TYPE must be one of: pd-standard, pd-ssd,
|
||||
pd-balanced, hyperdisk-balanced, hyperdisk-extreme,
|
||||
hyperdisk-throughput.
|
||||
|
||||
--machine-type=MACHINE_TYPE
|
||||
The type of machine to use for nodes. Defaults to e2-medium. The
|
||||
list of predefined machine types is available using the following
|
||||
command:
|
||||
|
||||
$ gcloud compute machine-types list
|
||||
|
||||
You can also specify custom machine types by providing a string
|
||||
with the format "custom-CPUS-RAM" where "CPUS" is the number of
|
||||
virtual CPUs and "RAM" is the amount of RAM in MiB.
|
||||
|
||||
For example, to create a node pool using custom machines with 2
|
||||
vCPUs and 12 GB of RAM:
|
||||
|
||||
$ gcloud container node-pools update high-mem-pool \
|
||||
--machine-type=custom-2-12288
|
||||
|
||||
Cluster autoscaling
|
||||
|
||||
--enable-autoprovisioning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue