gcloud container clusters

NAME
gcloud container clusters - deploy and teardown Google Kubernetes Engine clusters
SYNOPSIS
gcloud container clustersCOMMAND[--location=LOCATION    |--region=REGION    |--zone=ZONE,-zZONE][GCLOUD_WIDE_FLAG]
DESCRIPTION
The gcloud container clusters command group lets you deploy and teardown GoogleKubernetes Engine clusters.

See $gcloud docker --help forinformation about deploying docker images to clusters.

FLAGS
At most one of these can be specified:
--location=LOCATION
Compute zone or region (e.g. us-central1-a or us-central1) for the cluster.Overrides the default compute/region or compute/zone value for this commandinvocation. Prefer using this flag over the --region or --zone flags.
--region=REGION
Compute region (e.g. us-central1) for a regional cluster. Overrides the defaultcompute/region property value for this command invocation.
--zone=ZONE,-zZONE
Compute zone (e.g. us-central1-a) for a zonal cluster. Overrides the defaultcompute/zone property value for this command invocation.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
check-autopilot-compatibility
Check autopilot compatibility of a running cluster.
create
Create a cluster for running containers.
create-auto
Create an Autopilot cluster for running containers.
delete
Delete an existing cluster for running containers.
describe
Describe an existing cluster for running containers.
get-credentials
Fetch credentials for a running cluster.
get-upgrade-info
Get information about upgrades for existing clusters including auto upgradestatus, upgrade history, upgrade targets, and end of support timelines.
list
List existing clusters for running containers.
resize
Resizes an existing cluster for running containers.
update
Update cluster settings for an existing container cluster.
upgrade
Upgrade the Kubernetes version of an existing container cluster.
NOTES
These variants are also available:
gcloudalphacontainerclusters
gcloudbetacontainerclusters

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.