1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Oct 25 11:42:23 UTC 2023

This commit is contained in:
Automated 2023-10-25 11:42:23 +00:00
parent a15665661a
commit d34c41a2ce
305 changed files with 5549 additions and 699 deletions

View file

@ -29,7 +29,8 @@ SYNOPSIS
[ips=IPS],[netmask=NETMASK]) [--admin-users=ADMIN_USERS]
[--annotations=[KEY=VALUE,...]] [--async] [--description=DESCRIPTION]
[--disable-aag-config] [--disable-vsphere-csi] [--enable-auto-repair]
[--enable-vm-tracking] [--upgrade-control-plane=UPGRADE_CONTROL_PLANE]
[--enable-vm-tracking]
[--upgrade-policy=[control-plane-only=CONTROL-PLANE-ONLY]]
[--validate-only]
[--cpus=CPUS --enable-auto-resize --memory=MEMORY --replicas=REPLICAS]
[--disable-control-plane-v2 | --enable-control-plane-v2]
@ -336,21 +337,39 @@ OPTIONAL FLAGS
Upgrade policy for the cluster.
--upgrade-control-plane=UPGRADE_CONTROL_PLANE
If not specified, node pools are upgraded together with the control
plane.
--upgrade-policy=[control-plane-only=CONTROL-PLANE-ONLY]
If not specified, control-plane-only is set to False. In the next
upgrade operation, all worker node pools will be upgraded together
with the control plane.
Examples:
Example:
To upgrade control plane only and keep node pools version unchanged,
To upgrade the control plane only and keep worker node pools version unchanged, first specify the policy:
$ gcloud alpha container vmware clusters create \
--upgrade-control-plane=True
$ gcloud alpha container vmware clusters create CLUSTER \
--upgrade-policy control-plane-only=True
To upgrade both control plane and node pools,
Then to start the upgrade operation using the specified policy, run:
$ gcloud alpha container vmware clusters create \
--upgrade-control-plane=False
$ gcloud alpha container vmware clusters upgrade CLUSTER \
--version=VERSION
After upgrading only the cluster control plane, to upgrade an individual node pool, run:
$ gcloud alpha container vmware node-pools update NODE_POOL \
--version=VERSION
Example:
Alternatively, to upgrade both the control plane and all worker node pools, first specify the policy:
$ gcloud alpha container vmware clusters create CLUSTER \
--upgrade-policy control-plane-only=False
Then to start the upgrade operation using the specified policy, run:
$ gcloud alpha container vmware clusters upgrade CLUSTER \
--version=VERSION
--validate-only
If set, only validate the request, but do not actually perform the