Editing Gcloud container clusters list

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://cloud.google.com/sdk/gcloud/reference/container/clusters/list
 
* https://cloud.google.com/sdk/gcloud/reference/container/clusters/list
[[gcloud container clusters]] list
 
[[gcloud container clusters list --help]]
 
 
[[gcloud container clusters]] list [[2]]>[[/dev/null]]  | [[tail -n +2]] | awk '{print $1}'
 
  
== Examples ==
 
 
  [[gcloud container clusters]] list
 
  [[gcloud container clusters]] list
 
  NAME                        LOCATION        MASTER_VERSION    MASTER_IP      [[MACHINE_TYPE]]  NODE_VERSION      NUM_NODES  STATUS
 
  NAME                        LOCATION        MASTER_VERSION    MASTER_IP      [[MACHINE_TYPE]]  NODE_VERSION      NUM_NODES  STATUS
Line 13: Line 8:
 
  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_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
 
  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 ==
 
== Related ==
 
* <code>[[gcloud container clusters get-credentials]] your_cluster_1</code>
 
* <code>[[gcloud container clusters get-credentials]] your_cluster_1</code>
* <code>[[The required property]] [project] [[is not currently set]]</code>
+
[[The required property]] [project] [[is not currently set]]
* <code>[[gcloud container clusters describe]]</code>
 
  
  [[ERROR:]] ([[gcloud.container.clusters.list]]) [[ResponseError: code=403]], message=Required "[[container.clusters.list]]" permission(s) for "projects/123456789".
+
  [[ERROR:]] (gcloud.container.clusters.list) ResponseError: code=[[403]], message=Required "[[container.clusters.list]]" permission(s) for "projects/123456789".
  
  

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: