clustermetadata
clustermetadata
Get a GKE cluster's metadata.
yaml
type: "io.kestra.plugin.gcp.gke.clustermetadata"Examples
Fetch a GKE cluster's metadata.
yaml
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*Requiredstring
Cluster ID whose metadata needs to be fetched.
clusterProjectIdstring
GCP project ID where the GKE cluster is present.
clusterZonestring
GCP zone or region in which the GKE cluster is present.
impersonatedServiceAccountstring
The GCP service account to impersonate.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account.
Outputs
clusterIpv4Cidrstring
createTimestring
descriptionstring
endpointstring
linkstring
locationstring
loggingServicestring
masterAuth
Definitions
io.kestra.plugin.gcp.gke.ClusterMetadata-MasterAuth
clientCertificatestring
clientKeystring
clusterCertificatestring
monitoringServicestring
namestring
networkstring
nodePoolsarray
Definitions
io.kestra.plugin.gcp.gke.ClusterMetadata-NodePool
namestring
statusstring
Possible Values
STATUS_UNSPECIFIEDPROVISIONINGRUNNINGRUNNING_WITH_ERRORRECONCILINGSTOPPINGERRORUNRECOGNIZEDnodePoolsCountinteger
Default
0