ClusterMetadata ClusterMetadata

yaml
type: "io.kestra.plugin.gcp.gke.ClusterMetadata"

Get GKE cluster's metadata.

Examples

Fetch a GKE cluster's metadata.

yaml
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.

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 key.

Outputs

clusterIpv4Cidr

  • Type: string
  • Dynamic:
  • Required:

createTime

  • Type: string
  • Dynamic:
  • Required:

description

  • Type: string
  • Dynamic:
  • Required:

endpoint

  • Type: string
  • Dynamic:
  • Required:
  • Type: string
  • Dynamic:
  • Required:

location

  • Type: string
  • Dynamic:
  • Required:

loggingService

  • Type: string
  • Dynamic:
  • Required:

masterAuth

monitoringService

  • Type: string
  • Dynamic:
  • Required:

name

  • Type: string
  • Dynamic:
  • Required:

network

  • Type: string
  • Dynamic:
  • Required:

nodePools

nodePoolsCount

  • Type: integer
  • Dynamic:
  • Required:
  • Default: 0

project

  • Type: string
  • Dynamic:
  • Required:

subNetwork

  • Type: string
  • Dynamic:
  • Required:

zone

  • Type: string
  • Dynamic:
  • 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