Google Kubernetes Engine (GKE)

Get cluster

Gets the details of a specific cluster.

Inputs

Field

Type

Description

projectId [required]

string

GetClusterRequest projectId.

zone [required]

string

GetClusterRequest zone.

clusterId [required]

string

GetClusterRequest clusterId.

name [required]

string

The name (project, location, cluster) of the cluster to retrieve. Specified in the format projects/* /locations/* /clusters/*.

Outputs

Expand All

Field

Type

Description

result [required]

object

Get cluster output result.

name

string,null

Cluster name

description

string,null

Cluster description

initialNodeCount

number,null

Cluster initialNodeCount

nodeConfig

Cluster nodeConfig

masterAuth

Cluster masterAuth

loggingService

string,null

Cluster loggingService

monitoringService

string,null

Cluster monitoringService

network

string,null

Cluster network

clusterIpv4Cidr

string,null

Cluster clusterIpv4Cidr

addonsConfig

Cluster addonsConfig

subnetwork

string,null

Cluster subnetwork

nodePools

Cluster nodePools

locations

Cluster locations

enableKubernetesAlpha

boolean,null

Cluster enableKubernetesAlpha

resourceLabels

Cluster resourceLabels

labelFingerprint

string,null

Cluster labelFingerprint

legacyAbac

Cluster legacyAbac

networkPolicy

Cluster networkPolicy

ipAllocationPolicy

Cluster ipAllocationPolicy

masterAuthorizedNetworksConfig

Cluster masterAuthorizedNetworksConfig

maintenancePolicy

Cluster maintenancePolicy

binaryAuthorization

Cluster binaryAuthorization

autoscaling

Cluster autoscaling

networkConfig

Cluster networkConfig

defaultMaxPodsConstraint

Cluster defaultMaxPodsConstraint

resourceUsageExportConfig

Cluster resourceUsageExportConfig

authenticatorGroupsConfig

Cluster authenticatorGroupsConfig

privateClusterConfig

Cluster privateClusterConfig

databaseEncryption

Cluster databaseEncryption

verticalPodAutoscaling

Cluster verticalPodAutoscaling

shieldedNodes

Cluster shieldedNodes

releaseChannel

Cluster releaseChannel

workloadIdentityConfig

Cluster workloadIdentityConfig

meshCertificates

Cluster meshCertificates

costManagementConfig

Cluster costManagementConfig

notificationConfig

Cluster notificationConfig

confidentialNodes

Cluster confidentialNodes

identityServiceConfig

Cluster identityServiceConfig

selfLink

string,null

Cluster selfLink

zone

string,null

Cluster zone

endpoint

string,null

Cluster endpoint

initialClusterVersion

string,null

Cluster initialClusterVersion

currentMasterVersion

string,null

Cluster currentMasterVersion

currentNodeVersion

string,null

Cluster currentNodeVersion

createTime

string,null

Cluster createTime

status

Cluster status

statusMessage

string,null

Cluster statusMessage

nodeIpv4CidrSize

number,null

Cluster nodeIpv4CidrSize

servicesIpv4Cidr

string,null

Cluster servicesIpv4Cidr

instanceGroupUrls

Cluster instanceGroupUrls

currentNodeCount

number,null

Cluster currentNodeCount

expireTime

string,null

Cluster expireTime

location

string,null

Cluster location

enableTpu

boolean,null

Cluster enableTpu

tpuIpv4CidrBlock

string,null

Cluster tpuIpv4CidrBlock

conditions

Cluster conditions

autopilot

Cluster autopilot

id

string,null

Cluster id

nodePoolDefaults

Cluster nodePoolDefaults

loggingConfig

Cluster loggingConfig

monitoringConfig

Cluster monitoringConfig

nodePoolAutoConfig

Cluster nodePoolAutoConfig

etag

string,null

Cluster etag

fleet

Cluster fleet

securityPostureConfig

Cluster securityPostureConfig

enableK8sBetaApis

Cluster enableK8sBetaApis

enterpriseConfig

Cluster enterpriseConfig