I'm trying to get GCP billing costs on a GKE nodepool level .
I understand that the GKE usage metering feature only takes the labels of pods and PVCs into its table therefore giving workload level visibility into billing.
I also looked into the Standard usage cost data table which generates a table like gcp_billing_export_v1_<BILLING_ACCOUNT_ID>
. This table also only generates labels for instance nodes of the google compute engine and even in the GKE side of things it only generates labels for clusters.
I tried to see if I could leverage the labels of instance templates but that would require me to manually add labels to all our instance templates of google compute engine which were created by GKE.
I'd like to know if there's a way where while creating a nodepool we can add labels that somehow would show up in either of the two bigquery tables above or if they can somehow be propagated to the VM instance templates created for the nodepool by GKE.