kikulikov
kikulikov

Reputation: 2583

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.

Upvotes: 4

Views: 2736

Answers (1)

Mahboob
Mahboob

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

Related Questions