gcloud edge-cloud container clusters update - update an Edge Container cluster
gcloud edge-cloud container clusters update (CLUSTER : --location=LOCATION) [--async] [--clear-maintenance-window | --maintenance-window-end=MAINTENANCE_WINDOW_END --maintenance-window-recurrence=MAINTENANCE_WINDOW_RECURRENCE --maintenance-window-start=MAINTENANCE_WINDOW_START] [GCLOUD_WIDE_FLAG ...]
Update an Edge Container cluster.
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"
- 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.
- --async
Return immediately, without waiting for the operation in progress to complete.
- 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.
- --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"
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.
This command uses the edgecontainer/v1 API. The full documentation for this API can be found at: https://cloud.google.com/edge-cloud
This variant is also available:
$ gcloud alpha edge-cloud container clusters update