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:
parent
a15665661a
commit
d34c41a2ce
305 changed files with 5549 additions and 699 deletions
|
|
@ -11,8 +11,8 @@ SYNOPSIS
|
|||
[manual-assign=MANUAL-ASSIGN],[pool=POOL]]
|
||||
[--static-ip-config-ip-blocks=[gateway=GATEWAY],
|
||||
[ips=IPS],[netmask=NETMASK]]
|
||||
[--upgrade-control-plane=UPGRADE_CONTROL_PLANE] [--validate-only]
|
||||
[--version=VERSION]
|
||||
[--upgrade-policy=[control-plane-only=CONTROL-PLANE-ONLY]]
|
||||
[--validate-only] [--version=VERSION]
|
||||
[--add-annotations=[KEY1=VALUE1,KEY2=VALUE2,...]
|
||||
| --remove-annotations=[KEY1,KEY2,...]]
|
||||
[--cpus=CPUS --memory=MEMORY --disable-auto-resize
|
||||
|
|
@ -135,21 +135,39 @@ 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 update \
|
||||
--upgrade-control-plane=True
|
||||
$ gcloud alpha container vmware clusters update 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 update \
|
||||
--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 update 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue