1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/edge-cloud/container/clusters/update
2024-01-31 10:36:17 +00:00

110 lines
4.2 KiB
Text

NAME
gcloud edge-cloud container clusters update - update an Edge Container
cluster
SYNOPSIS
gcloud edge-cloud container clusters update (CLUSTER : --location=LOCATION)
[--async] [--release-channel=RELEASE_CHANNEL]
[--clear-maintenance-window
| --maintenance-window-end=MAINTENANCE_WINDOW_END
--maintenance-window-recurrence=MAINTENANCE_WINDOW_RECURRENCE
--maintenance-window-start=MAINTENANCE_WINDOW_START]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update an Edge Container cluster.
EXAMPLES
To update the maintenance window recurrence rule of a cluster called
'my-cluster' in region us-central1, run:
$ gcloud edge-cloud container clusters update my-cluster \
--location=us-central1 \
--maintenance-window-recurrence="FREQ=WEEKLY"
POSITIONAL ARGUMENTS
Cluster resource - Edge Container cluster to update. The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument cluster on the command line with a fully
specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
This must be specified.
CLUSTER
ID of the cluster or fully qualified identifier for the cluster.
To set the cluster attribute:
▸ provide the argument cluster on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
The global location name.
To set the location attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property edge_container/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--release-channel=RELEASE_CHANNEL
Release channel a cluster is subscribed to. It supports two values,
NONE and REGULAR. NONE is used to opt out of any release channel.
Clusters subscribed to the REGULAR channel will be automatically
upgraded to versions that are considered GA quality, and cannot be
manually upgraded. RELEASE_CHANNEL must be one of: none, regular,
release-channel-unspecified.
At most one of these can be specified:
--clear-maintenance-window
If set, removes the maintenance window setting from the cluster.
Updates cluster maintenance window setting (more than one flags can be
specified from this group)
--maintenance-window-end=MAINTENANCE_WINDOW_END
End time of the recurring cluster maintenance window in the RFC
3339 (https://www.ietf.org/rfc/rfc3339.txt) format. E.g.
"2021-01-01T00:00:00Z" or "2021-01-01T00:00:00-05:00"
--maintenance-window-recurrence=MAINTENANCE_WINDOW_RECURRENCE
An RFC 5545 (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
recurrence rule for how the cluster maintenance window recurs. They
go on for the span of time between the start and the end time. E.g.
FREQ=WEEKLY;BYDAY=SU.
--maintenance-window-start=MAINTENANCE_WINDOW_START
Start time of the recurring cluster maintenance window in the RFC
3339 (https://www.ietf.org/rfc/rfc3339.txt) format. E.g.
"2021-01-01T00:00:00Z" or "2021-01-01T00:00:00-05:00"
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
API REFERENCE
This command uses the edgecontainer/v1 API. The full documentation for this
API can be found at: https://cloud.google.com/edge-cloud
NOTES
This variant is also available:
$ gcloud alpha edge-cloud container clusters update