ClusterMetadata ClusterMetadata

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

Get cluster metadata.

Examples

Fetch a gke cluster metadata

yaml
id: "cluster_metadata"
type: "io.kestra.plugin.gcp.gke.ClusterMetadata"
name: "gke-metas"
projectId: my-project-id
zone: eu-west-1c
clusterId: my-cluster-id

Properties

clusterId

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Cluster id where meta data are fetch

clusterProjectId

  • Type: string
  • Dynamic: ✔️
  • Required:

Project ID in GCP were is located cluster

clusterZone

  • Type: string
  • Dynamic: ✔️
  • Required:

Cluster zone in GCP

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 used

serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key

Outputs

clusterIpv4Cidr

  • Type: string

createTime

  • Type: string

description

  • Type: string

endpoint

  • Type: string
  • Type: string

location

  • Type: string

loggingService

  • Type: string

masterAuth

monitoringService

  • Type: string

name

  • Type: string

network

  • Type: string

nodePools

nodePoolsCount

  • Type: integer
  • Default: 0

project

  • Type: string

subNetwork

  • Type: string

zone

  • Type: string

Definitions

MasterAuth

clientCertificat

  • Type: string
  • Dynamic:
  • Required:

clientKey

  • Type: string
  • Dynamic:
  • Required:

clusterCertificat

  • Type: string
  • Dynamic:
  • Required:

NodePool

name

  • Type: string
  • Dynamic:
  • Required:

status

  • Type: string
  • Dynamic:
  • Required:
  • Possible Values:
    • STATUS_UNSPECIFIED
    • PROVISIONING
    • RUNNING
    • RUNNING_WITH_ERROR
    • RECONCILING
    • STOPPING
    • ERROR
    • UNRECOGNIZED