- NAME
-
- gcloud container attached clusters update - update an Attached cluster
- SYNOPSIS
-
-
gcloud container attached clusters update
(CLUSTER
:--location
=LOCATION
) [--annotations
=ANNOTATION
,[ANNOTATION
,…]] [--async
] [--binauthz-evaluation-mode
=BINAUTHZ_EVALUATION_MODE
] [--clear-description
] [--description
=DESCRIPTION
] [--logging
=COMPONENT
,[COMPONENT
,…]] [--platform-version
=PLATFORM_VERSION
] [--validate-only
] [--admin-groups
=[GROUP
,…] |--clear-admin-groups
] [--admin-users
=[USER
,…] |--clear-admin-users
] [--disable-managed-prometheus
|--enable-managed-prometheus
] [--proxy-secret-name
=PROXY_SECRET_NAME
--proxy-secret-namespace
=PROXY_SECRET_NAMESPACE
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Update an Attached cluster.
- EXAMPLES
-
To update a cluster named
managed in locationmy-cluster
, run:us-west1
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 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; -
provide the argument
--project
on the command line; -
set the property
core/project
.
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.
-
provide the argument
--location
=LOCATION
-
Google Cloud location for the cluster.
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
container_attached/location
.
-
provide the argument
-
provide the argument
-
Cluster resource - 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.
- FLAGS
-
--annotations
=ANNOTATION
,[ANNOTATION
,…]- Annotations for the cluster.
--async
- Return immediately, without waiting for the operation in progress to complete.
--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
. --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
with the target Google Cloud location for the cluster.LOCATION
--validate-only
- Validate the update of the cluster, but don't actually perform it.
-
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
-
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.
-
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.
- 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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-02-06 UTC.",
"state": ""
}