Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out when GKE cluster was created?

In google cloud console there is a dashboard page with a list of clusters. How to find out when GKE clusters were created? Thanks.

like image 860
kikulikov Avatar asked Oct 18 '25 13:10

kikulikov


1 Answers

You can use this advanced filter in the Cloud Logging to know when the cluster has been created:

resource.type="gke_cluster"
protoPayload.authorizationInfo.permission="container.clusters.create"
resource.labels.cluster_name="your-cluster-name"

Also using the gcloud command you can get creation time:

gcloud container clusters describe YOUR_CLUSTER_NAME --zone ZONE
like image 155
Mahboob Avatar answered Oct 20 '25 16:10

Mahboob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!