cloudquery/cq-provider-gcp

GKE clusters resource

Closed this issue · 1 comments

Describe the resource.

Ingest GKE clusters resource to include clusters, specifically the node count at any given time associated with them. Could also poll for further details on node pools

Use Case

Ability to track total count of nodes per cluster in GKE for comparison to count of known clusters/nodes seen by security tools.

Additional context

Relevant APIs are documented in https://cloud.google.com/kubernetes-engine/docs/reference/rest

Node count of a cluster is returned as part of the projects.locations.clusters.list operation results currentNodeCount

https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters#Cluster

PR to support this resource is pending review #267