mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 07:29:40 +00:00
gcloud: Wed Apr 16 10:41:40 UTC 2025
This commit is contained in:
parent
4637d39593
commit
b589c4c4ad
316 changed files with 13928 additions and 1163 deletions
|
|
@ -41,9 +41,12 @@ SYNOPSIS
|
|||
[--node-locations=ZONE,[ZONE,...]]
|
||||
[--node-pool-soak-duration=NODE_POOL_SOAK_DURATION]
|
||||
[--node-taints=[NODE_TAINT,...]] [--node-version=NODE_VERSION]
|
||||
[--num-nodes=NUM_NODES] [--placement-policy=PLACEMENT_POLICY]
|
||||
[--placement-type=PLACEMENT_TYPE] [--preemptible]
|
||||
[--resource-manager-tags=[KEY=VALUE,...]] [--sandbox=[type=TYPE]]
|
||||
[--num-nodes=NUM_NODES]
|
||||
[--opportunistic-maintenance=[node-idle-time=NODE_IDLE_TIME,
|
||||
window=WINDOW,min-nodes=MIN_NODES,...]]
|
||||
[--placement-policy=PLACEMENT_POLICY] [--placement-type=PLACEMENT_TYPE]
|
||||
[--preemptible] [--resource-manager-tags=[KEY=VALUE,...]]
|
||||
[--sandbox=[type=TYPE]]
|
||||
[--secondary-boot-disk=[disk-image=DISK_IMAGE,[mode=MODE],...]]
|
||||
[--shielded-integrity-monitoring] [--shielded-secure-boot]
|
||||
[--sole-tenant-node-affinity-file=SOLE_TENANT_NODE_AFFINITY_FILE]
|
||||
|
|
@ -560,6 +563,26 @@ FLAGS
|
|||
types the number of nodes will be defaulted to (product of topology)/(#
|
||||
of chips per VM).
|
||||
|
||||
--opportunistic-maintenance=[node-idle-time=NODE_IDLE_TIME,window=WINDOW,min-nodes=MIN_NODES,...]
|
||||
Opportunistic maintenance options.
|
||||
|
||||
node-idle-time: Time to be spent waiting for node to be idle before
|
||||
starting maintenance, ending with 's'. Example: "3.5s"
|
||||
|
||||
window: The window of time that opportunistic maintenance can run,
|
||||
ending with 's'. Example: A setting of 14 days (1209600s) implies that
|
||||
opportunistic maintenance can only be ran in the 2 weeks leading up to
|
||||
the scheduled maintenance date. Setting 28 days(2419200s) allows
|
||||
opportunistic maintenance to run at any time in the scheduled
|
||||
maintenance window.
|
||||
|
||||
min-nodes: Minimum number of nodes in the node pool to be available
|
||||
during the opportunistic triggered maintenance.
|
||||
|
||||
$ gcloud beta container node-pools create example-cluster \
|
||||
--opportunistic-maintenance=node-idle-time=600s,window=600s,\
|
||||
min-nodes=2
|
||||
|
||||
--placement-policy=PLACEMENT_POLICY
|
||||
Indicates the desired resource policy to use.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue