
Google Cloud ClusterMetadata
CertifiedFetch GKE cluster metadata
Google Cloud ClusterMetadata
Fetch GKE cluster metadata
Retrieves metadata for a GKE cluster in the specified project and zone/region, including networking, auth certs, and node pool statuses.
type: io.kestra.plugin.gcp.gke.ClusterMetadataExamples
Fetch a GKE cluster's metadata
id: gcp_gke_cluster_metadata
namespace: company.team
tasks:
- id: cluster_metadata
type: io.kestra.plugin.gcp.gke.ClusterMetadata
clusterProjectId: my-project-id
clusterZone: europe-west1-c
clusterId: my-cluster-id
Properties
clusterId *string
Cluster ID
Name of the cluster to query
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150clusterProjectId string
Cluster project ID
Project that owns the cluster
clusterZone string
Cluster location
Zone or region where the cluster resides
impersonatedServiceAccount string
The GCP service account to impersonate
projectId string
The GCP project ID
scopes array
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account
Outputs
clusterIpv4Cidr string
Cluster IPv4 CIDR
createTime string
Cluster creation time
description string
Cluster description
endpoint string
Cluster endpoint
link string
Self link to the cluster
location string
Cluster location
loggingService string
Logging service
masterAuth
Master authentication configuration
io.kestra.plugin.gcp.gke.ClusterMetadata-MasterAuth
monitoringService string
Monitoring service
name string
Cluster name
network string
Cluster network
nodePools array
Node pools
io.kestra.plugin.gcp.gke.ClusterMetadata-NodePool
STATUS_UNSPECIFIEDPROVISIONINGRUNNINGRUNNING_WITH_ERRORRECONCILINGSTOPPINGERRORUNRECOGNIZEDnodePoolsCount integer
0Number of node pools
project string
Project id
subNetwork string
Cluster subnetwork
zone string
Cluster zone