Get Bare Metal Cluster

gke_on_prem.get_bare_metal_cluster
ActionGoogle Cloudconnection required

Calls gkeonprem v1 GET /v1/projects/{projectsId}/locations/{locationsId}/bareMetalClusters/{bareMetalClustersId}.

Gets details of a single bare metal Cluster.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google GKE On-Prem
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
location
Location or region; taken from the connection when unset.
stringNo———
bare_metal_cluster
Bare metal cluster name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
adminClusterMembership
string—
adminClusterName
string—
annotations
object—
bareMetalVersion
string—
binaryAuthorization
object—
clusterOperations
object—
controlPlane
object—
createTime
string—
deleteTime
string—
description
string—
endpoint
string—
etag
string—
fleet
object—
loadBalancer
object—
localName
string—
localNamespace
string—
maintenanceConfig
object—
maintenanceStatus
object—
name
string—
networkConfig
object—
nodeAccessConfig
object—
nodeConfig
object—
osEnvironmentConfig
object—
proxy
object—
reconciling
boolean—
securityConfig
object—
state
string—
status
object—
storage
object—
uid
string—
updateTime
string—
upgradePolicy
object—
validationCheck
object—
{
  "adminClusterMembership": "",
  "adminClusterName": "",
  "annotations": {},
  "bareMetalVersion": "",
  "binaryAuthorization": {},
  "clusterOperations": {},
  "controlPlane": {},
  "createTime": "",
  "deleteTime": "",
  "description": "",
  "endpoint": "",
  "etag": "",
  "fleet": {},
  "loadBalancer": {},
  "localName": "",
  "localNamespace": "",
  "maintenanceConfig": {},
  "maintenanceStatus": {},
  "name": "",
  "networkConfig": {},
  "nodeAccessConfig": {},
  "nodeConfig": {},
  "osEnvironmentConfig": {},
  "proxy": {},
  "reconciling": false,
  "securityConfig": {},
  "state": "",
  "status": {},
  "storage": {},
  "uid": "",
  "updateTime": "",
  "upgradePolicy": {},
  "validationCheck": {}
}

See Get Bare Metal Cluster run in a workflow.

In a technical demo we add the Google GKE On-Prem connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.