After you create a cluster and node pool, you can view a cluster's status with the Google Cloud CLI or the Google Cloud console.
gcloud CLI
To see the state of an attached cluster, run the following command:
gcloud container attached clusters describe CLUSTER_NAME \ --location=GOOGLE_CLOUD_REGION
Replace:
- CLUSTER_NAME: the name of your cluster
- GOOGLE_CLOUD_REGION: the name of the Google Cloud region administering your cluster
For more information, see gcloud container attached clusters describe.
To see the state of all clusters in a Google Cloud region:
gcloud container attached clusters list --location=GOOGLE_CLOUD_REGION
Replace GOOGLE_CLOUD_REGION with the name of the Google Cloud region administering your cluster.
For more information, see gcloud container attached clusters list.
Console
In the Google Cloud console, go to the Google Kubernetes Engine clusters overview page.
Your clusters are listed by their name and location.
Click the cluster's name. A panel with information on the cluster, including its status and enabled features, appears.