1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 14:26:34 +00:00

gcloud: Wed Oct 15 10:52:53 UTC 2025

This commit is contained in:
Automated 2025-10-15 10:52:53 +00:00
parent 6f9bb9a0f0
commit 154ebc873d
299 changed files with 7497 additions and 3961 deletions

View file

@ -14,6 +14,7 @@ SYNOPSIS
[--additional-pod-network=[subnetwork=SUBNETWORK_NAME,
pod-ipv4-range=SECONDARY_RANGE_NAME,
[max-pods-per-node=NUM_PODS],...]] [--async]
[--autoscaled-rollout-policy=[wait-for-drain-duration=WAIT-FOR-DRAIN-DURATION]]
[--boot-disk-kms-key=BOOT_DISK_KMS_KEY]
[--boot-disk-provisioned-iops=BOOT_DISK_PROVISIONED_IOPS]
[--boot-disk-provisioned-throughput=BOOT_DISK_PROVISIONED_THROUGHPUT]
@ -183,6 +184,23 @@ FLAGS
Return immediately, without waiting for the operation in progress to
complete.
--autoscaled-rollout-policy=[wait-for-drain-duration=WAIT-FOR-DRAIN-DURATION]
Autoscaled rollout policy options for blue-green upgrade.
wait-for-drain-duration
(Optional) Time in seconds to wait after cordoning the blue pool
before draining the nodes.
Examples:
$ gcloud beta container node-pools create node-pool-1 \
--cluster=example-cluster --enable-blue-green-upgrade \
--autoscaled-rollout-policy=""
$ gcloud beta container node-pools create node-pool-1 \
--cluster=example-cluster --enable-blue-green-upgrade \
--autoscaled-rollout-policy=wait-for-drain-duration=7200s
--boot-disk-kms-key=BOOT_DISK_KMS_KEY
The Customer Managed Encryption Key used to encrypt the boot disk
attached to each node in the node pool. This should be of the form

View file

@ -24,11 +24,8 @@ SYNOPSIS
| --storage-pools=STORAGE_POOL,[...]
| --system-config-from-file=PATH_TO_FILE | --tags=[TAG,...]
| --windows-os-version=WINDOWS_OS_VERSION
| --workload-metadata=WORKLOAD_METADATA | --enable-blue-green-upgrade
--enable-surge-upgrade --max-surge-upgrade=MAX_SURGE_UPGRADE
--max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE
--node-pool-soak-duration=NODE_POOL_SOAK_DURATION
--standard-rollout-policy=[batch-node-count=BATCH_NODE_COUNT,
| --workload-metadata=WORKLOAD_METADATA
| --autoscaled-rollout-policy=[wait-for-drain-duration=WAIT-FOR-DRAIN-DURATION] --enable-blue-green-upgrade --enable-surge-upgrade --max-surge-upgrade=MAX_SURGE_UPGRADE --max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE --node-pool-soak-duration=NODE_POOL_SOAK_DURATION --standard-rollout-policy=[batch-node-count=BATCH_NODE_COUNT,
batch-percent=BATCH_NODE_PERCENTAGE,
batch-soak-duration=BATCH_SOAK_DURATION,...]
| --boot-disk-provisioned-iops=BOOT_DISK_PROVISIONED_IOPS
@ -762,6 +759,23 @@ REQUIRED FLAGS
Upgrade settings
--autoscaled-rollout-policy=[wait-for-drain-duration=WAIT-FOR-DRAIN-DURATION]
Autoscaled rollout policy options for blue-green upgrade.
wait-for-drain-duration
(Optional) Time in seconds to wait after cordoning the blue
pool before draining the nodes.
Examples:
$ gcloud beta container node-pools update node-pool-1 \
--cluster=example-cluster --enable-blue-green-upgrade \
--autoscaled-rollout-policy=""
$ gcloud beta container node-pools update node-pool-1 \
--cluster=example-cluster --enable-blue-green-upgrade \
--autoscaled-rollout-policy=wait-for-drain-duration=7200s
--enable-blue-green-upgrade
Changes node pool upgrade strategy to blue-green upgrade.