Reputation: 2583
In google cloud console there is a dashboard page with a list of clusters. How to find out when GKE clusters were created? Thanks.
Upvotes: 4
Views: 2736
Reputation: 1955
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
Upvotes: 8