gcloud container clusters list

From wikieduonline
(Redirected from MyClusterName)
Jump to navigation Jump to search

gcloud container clusters list
gcloud container clusters list --help
gcloud container clusters list 2>/dev/null  | tail -n +2 | awk '{print $1}'

Examples[edit]

gcloud container clusters list
NAME                        LOCATION        MASTER_VERSION    MASTER_IP       MACHINE_TYPE   NODE_VERSION      NUM_NODES  STATUS
your_cluster_1           europe-west3-a  1.21.12-gke.1500  31.246.129.x  e2-medium      1.21.12-gke.1500  2          RUNNING
your_cluster_2           europe-west3-b  1.21.11-gke.1900  31.242.192.x      n1-standard-4  1.21.11-gke.1900  6          RUNNING
your_cluster_3           europe-west3-b  1.21.11-gke.1900  31.242.239.x    e2-standard-4  1.21.11-gke.1900  1          RUNNING
your_cluster_4           europe-west3-c  1.22.8-gke.202    36.107.72.x       e2-medium      1.22.8-gke.202    2          RUNNING
gcloud container clusters list
NAME                       LOCATION     MASTER_VERSION  MASTER_IP       MACHINE_TYPE  NODE_VERSION  NUM_NODES  STATUS
mytestproject04122023-gke  us-central1  1.27.3-gke.100  34.121.138.208                              1          RUNNING

Related[edit]

ERROR: (gcloud.container.clusters.list) ResponseError: code=403, message=Required "container.clusters.list" permission(s) for "projects/123456789".


See also[edit]

Advertising: