mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Tue Jan 20 11:05:01 UTC 2026
This commit is contained in:
parent
bdd724fcf3
commit
582f364023
247 changed files with 5698 additions and 1205 deletions
|
|
@ -37,7 +37,10 @@ SYNOPSIS
|
|||
--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) [--async]
|
||||
| --enable-autorepair --enable-autoupgrade
|
||||
| --node-drain-grace-period-seconds=NODE_DRAIN_GRACE_PERIOD_SECONDS
|
||||
--node-drain-pdb-timeout-seconds=NODE_DRAIN_PDB_TIMEOUT_SECONDS
|
||||
--respect-pdb-during-node-pool-deletion) [--async]
|
||||
[--cluster=CLUSTER]
|
||||
[--location=LOCATION | --region=REGION | --zone=ZONE, -z ZONE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -104,7 +107,7 @@ REQUIRED FLAGS
|
|||
|
||||
--confidential-node-type=CONFIDENTIAL_NODE_TYPE
|
||||
Recreate all the nodes in the node pool to be confidential VM
|
||||
https://cloud.google.com/compute/confidential-vm/docs/about-cvm.
|
||||
https://docs.cloud.google.com/compute/docs/about-confidential-vm.
|
||||
CONFIDENTIAL_NODE_TYPE must be one of: sev, sev_snp, tdx, disabled.
|
||||
|
||||
--containerd-config-from-file=PATH_TO_FILE
|
||||
|
|
@ -123,7 +126,7 @@ REQUIRED FLAGS
|
|||
|
||||
--enable-confidential-nodes
|
||||
Recreate all the nodes in the node pool to be confidential VM
|
||||
https://cloud.google.com/compute/confidential-vm/docs/about-cvm.
|
||||
https://docs.cloud.google.com/compute/docs/about-confidential-vm.
|
||||
|
||||
--enable-gvnic
|
||||
Enable the use of GVNIC for this cluster. Requires re-creation of
|
||||
|
|
@ -608,7 +611,11 @@ REQUIRED FLAGS
|
|||
[65536,
|
||||
2147483647]
|
||||
vm.overcommit_memory Must be one of
|
||||
{0, 1, 2}
|
||||
{0, 1, 2}. Not
|
||||
supported on
|
||||
machines with
|
||||
less than 15 GB
|
||||
memory.
|
||||
vm.overcommit_ratio Must be between
|
||||
[0, 100]
|
||||
vm.vfs_cache_pressure Must be between
|
||||
|
|
@ -666,9 +673,15 @@ REQUIRED FLAGS
|
|||
KEY VALUE
|
||||
diskCount integer
|
||||
|
||||
Allocated hugepage size should not exceed 60% of available memory on
|
||||
the node. For example, c2d-highcpu-4 has 8GB memory, total allocated
|
||||
hugepage of 2m and 1g should not exceed 8GB * 0.6 = 4.8GB.
|
||||
The upper limit for total allocated hugepage size differs based upon
|
||||
machine size.
|
||||
|
||||
▸ On machines with less than 30 GB memory: 60% of the total memory.
|
||||
For example, on e2-standard-2 machine with 8 GB of memory, you
|
||||
can't allocate more than 4.8 GB for hugepages.
|
||||
▸ On machines with more than 30 GB memory: 80% of the total memory.
|
||||
For example, on c4a-standard-8 machines with 32 GB of memory,
|
||||
hugepages cannot exceed 25.6 GB.
|
||||
|
||||
1G hugepages are only available in following machine familes: c3, m2,
|
||||
c2d, c3d, h3, m3, a2, a3, g2.
|
||||
|
|
@ -964,6 +977,18 @@ REQUIRED FLAGS
|
|||
https://cloud.google.com/kubernetes-engine/docs/node-auto-upgrades
|
||||
for more info.
|
||||
|
||||
Node drain settings
|
||||
|
||||
--node-drain-grace-period-seconds=NODE_DRAIN_GRACE_PERIOD_SECONDS
|
||||
The grace period in seconds for nodes to drain before being
|
||||
forcefully removed.
|
||||
|
||||
--node-drain-pdb-timeout-seconds=NODE_DRAIN_PDB_TIMEOUT_SECONDS
|
||||
The timeout in seconds for the node pool to be drained.
|
||||
|
||||
--respect-pdb-during-node-pool-deletion
|
||||
Whether to respect PDBs when deleting nodes in the node pool.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue