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.
clusterProjectId string
GCP project ID where the GKE cluster is present.
clusterZone string
GCP zone in which the GKE cluster is present.
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
clusterIpv4Cidr string
createTime string
description string
endpoint string
link string
location string
loggingService string
masterAuth ClusterMetadata-MasterAuth
monitoringService string
name string
network string
nodePoolsCount integer
Default
0
project string
subNetwork string
zone string
Definitions
io.kestra.plugin.gcp.gke.ClusterMetadata-MasterAuth
clientCertificat string
clientKey string
clusterCertificat string
io.kestra.plugin.gcp.gke.ClusterMetadata-NodePool
name string
status string
Possible Values
STATUS_UNSPECIFIED
PROVISIONING
RUNNING
RUNNING_WITH_ERROR
RECONCILING
STOPPING
ERROR
UNRECOGNIZED