ClusterMetadata
ClusterMetadata
yaml
type: "io.kestra.plugin.gcp.gke.ClusterMetadata"
Get GKE cluster's metadata.
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
- Type: string
- Dynamic: ✔️
- Required: ✔️
Cluster ID whose metadata needs to be fetched.
clusterProjectId
- Type: string
- Dynamic: ✔️
- Required: ❌
GCP project ID where the GKE cluster is present.
clusterZone
- Type: string
- Dynamic: ✔️
- Required: ❌
GCP zone in which the GKE cluster is present.
impersonatedServiceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account to impersonate.
projectId
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP project ID.
scopes
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
- Default:
[https://www.googleapis.com/auth/cloud-platform]
The GCP scopes to be used.
serviceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account.
Outputs
clusterIpv4Cidr
- Type: string
- Required: ❌
createTime
- Type: string
- Required: ❌
description
- Type: string
- Required: ❌
endpoint
- Type: string
- Required: ❌
link
- Type: string
- Required: ❌
location
- Type: string
- Required: ❌
loggingService
- Type: string
- Required: ❌
masterAuth
- Type: ClusterMetadata-MasterAuth
- Required: ❌
monitoringService
- Type: string
- Required: ❌
name
- Type: string
- Required: ❌
network
- Type: string
- Required: ❌
nodePools
- Type: array
- SubType: ClusterMetadata-NodePool
- Required: ❌
nodePoolsCount
- Type: integer
- Required: ❌
- Default:
0
project
- Type: string
- Required: ❌
subNetwork
- Type: string
- Required: ❌
zone
- Type: string
- Required: ❌
Definitions
io.kestra.plugin.gcp.gke.ClusterMetadata-MasterAuth
Properties
clientCertificat
- Type: string
- Dynamic: ❓
- Required: ❓
clientKey
- Type: string
- Dynamic: ❓
- Required: ❓
clusterCertificat
- Type: string
- Dynamic: ❓
- Required: ❓
io.kestra.plugin.gcp.gke.ClusterMetadata-NodePool
Properties
name
- Type: string
- Dynamic: ❓
- Required: ❓
status
- Type: string
- Dynamic: ❓
- Required: ❓
- Possible Values:
STATUS_UNSPECIFIED
PROVISIONING
RUNNING
RUNNING_WITH_ERROR
RECONCILING
STOPPING
ERROR
UNRECOGNIZED
Was this page helpful?