Resource: Machine
A Google Distributed Cloud Edge machine capable of acting as a Kubernetes node.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "hostedNode": string, "zone": string, "version": string, "disabled": boolean, "status": enum ( |
Fields | |
---|---|
name |
Required. The resource name of the machine. |
create |
Output only. The time when the node pool was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
update |
Output only. The time when the node pool was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Labels associated with this resource. An object containing a list of |
hosted |
Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{clusterId}/nodePools/{pool_id}/{node}, Or empty if the machine is not assigned to assume the role of a node. For control plane nodes hosted on edge machines, this will return the following format: "projects/{project}/locations/{location}/clusters/{clusterId}/controlPlaneNodes/{node}". |
zone |
The Google Distributed Cloud Edge zone of this machine. |
version |
Output only. The software version of the machine. |
disabled |
Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service. |
status |
Output only. The current status of the machine. |
purpose |
The type of cluster the machine is used for. |
Status
Indicates the status of the machine.
Enums | |
---|---|
STATUS_UNSPECIFIED |
Status unknown. |
READY |
The machine is ready to host a node. This is the default. |
DISABLED_FOR_REPAIR |
The machine has been disabled for repair by adding 1 or more disable claims. |
Purpose
Machine purpose can be either VIRTUALIZED_WORKLOAD or BAREMETAL_CLUSTER.
Enums | |
---|---|
PURPOSE_UNSPECIFIED |
Unspecified purpose. |
VIRTUALIZED_WORKLOAD |
Machine is used for virtual workload. |
BAREMETAL_CLUSTER |
Machine is used for a baremetal user cluster. |
Methods |
|
---|---|
|
Gets details of a single Machine. |
|
Lists Machines in a given project and location. |