1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00
gcloud-help/gcloud/container/attached/clusters/update

172 lines
5.6 KiB
Text
Raw Normal View History

2023-01-19 00:56:33 +00:00
NAME
gcloud container attached clusters update - update an Attached cluster
SYNOPSIS
gcloud container attached clusters update (CLUSTER : --location=LOCATION)
2023-09-07 10:42:28 +00:00
[--annotations=ANNOTATION,[ANNOTATION,...]] [--async]
[--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE]
[--clear-description] [--description=DESCRIPTION]
2023-01-19 00:56:33 +00:00
[--logging=COMPONENT,[COMPONENT,...]]
2024-09-18 09:49:45 +00:00
[--platform-version=PLATFORM_VERSION] [--validate-only]
2023-09-07 10:42:28 +00:00
[--admin-groups=[GROUP,...] | --clear-admin-groups]
[--admin-users=[USER,...] | --clear-admin-users]
2025-01-23 10:02:29 +00:00
[--disable-cloud-monitoring | --enable-cloud-monitoring]
2023-01-19 00:56:33 +00:00
[--disable-managed-prometheus | --enable-managed-prometheus]
2023-09-07 10:42:28 +00:00
[--proxy-secret-name=PROXY_SECRET_NAME
--proxy-secret-namespace=PROXY_SECRET_NAMESPACE]
2023-01-19 00:56:33 +00:00
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update an Attached cluster.
EXAMPLES
To update a cluster named my-cluster managed in location us-west1, run:
$ gcloud container attached clusters update my-cluster \
--location=us-west1 --description=testcluster
POSITIONAL ARGUMENTS
Cluster resource - cluster to update. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
2023-05-04 10:43:54 +00:00
are not given arguments in this group but can be set in other ways.
To set the project attribute:
2023-01-19 00:56:33 +00:00
◆ provide the argument cluster on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
CLUSTER
2023-05-04 10:43:54 +00:00
ID of the cluster or fully qualified identifier for the cluster.
To set the cluster attribute:
2023-01-19 00:56:33 +00:00
▸ 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
2023-05-04 10:43:54 +00:00
Google Cloud location for the cluster.
To set the location attribute:
2023-01-19 00:56:33 +00:00
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --location on the command line;
▸ set the property container_attached/location.
FLAGS
--annotations=ANNOTATION,[ANNOTATION,...]
Annotations for the cluster.
--async
Return immediately, without waiting for the operation in progress to
complete.
2023-09-07 10:42:28 +00:00
--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE
Set Binary Authorization evaluation mode for this cluster.
BINAUTHZ_EVALUATION_MODE must be one of: DISABLED,
PROJECT_SINGLETON_POLICY_ENFORCE.
2023-01-19 00:56:33 +00:00
--clear-description
Clear the description for the cluster.
--description=DESCRIPTION
Description for the cluster.
--logging=COMPONENT,[COMPONENT,...]
Set the components that have logging enabled.
Examples:
$ gcloud container attached clusters update --logging=SYSTEM
$ gcloud container attached clusters update --logging=SYSTEM,WORKLOAD
$ gcloud container attached clusters update --logging=NONE
COMPONENT must be one of: NONE, SYSTEM, WORKLOAD.
--platform-version=PLATFORM_VERSION
Platform version to use for the cluster.
To retrieve a list of valid versions, run:
$ gcloud alpha container attached get-server-config \
--location=LOCATION
Replace LOCATION with the target Google Cloud location for the cluster.
2024-09-18 09:49:45 +00:00
--validate-only
Validate the update of the cluster, but don't actually perform it.
2024-09-11 09:52:17 +00:00
2023-09-07 10:42:28 +00:00
Admin groups
At most one of these can be specified:
--admin-groups=[GROUP,...]
Groups of users that can perform operations as a cluster
administrator.
--clear-admin-groups
Clear the admin groups associated with the cluster
Admin users
At most one of these can be specified:
--admin-users=[USER,...]
Users that can perform operations as a cluster administrator.
--clear-admin-users
Clear the admin users associated with the cluster
2025-01-23 10:02:29 +00:00
Cloud Monitoring Config
At most one of these can be specified:
--disable-cloud-monitoring
Disable managed collection for Cloud Monitoring.
--enable-cloud-monitoring
Enable managed collection for Cloud Monitoring.
2023-01-19 00:56:33 +00:00
Monitoring Config
At most one of these can be specified:
--disable-managed-prometheus
Disable managed collection for Managed Service for Prometheus.
--enable-managed-prometheus
Enable managed collection for Managed Service for Prometheus.
2023-09-07 10:42:28 +00:00
Proxy config
--proxy-secret-name=PROXY_SECRET_NAME
Name of the Kubernetes secret that contains the HTTP/HTTPS proxy
configuration.
This flag argument must be specified if any of the other arguments in
this group are specified.
--proxy-secret-namespace=PROXY_SECRET_NAMESPACE
Namespace of the Kubernetes secret that contains the HTTP/HTTPS proxy
configuration.
This flag argument must be specified if any of the other arguments in
this group are specified.
2023-01-19 00:56:33 +00: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.
NOTES
This variant is also available:
$ gcloud alpha container attached clusters update