Compute Node Template

A Compute Node Template in Google Cloud is a resource that defines the configuration for sole-tenant nodes. It specifies properties such as machine type, CPU platform, and node affinity labels, which are then used to create node groups. This allows workloads to run on dedicated physical servers for isolation, compliance, or licensing requirements.

gcp.compute_node_template

Fields

TitleIDTypeData TypeDescription
_keycorestring
acceleratorscorejson
ancestorscorearray<string>
cpu_overcommit_typecorestringCPU overcommit.
creation_timestampcoretimestamp[Output Only] Creation timestamp in RFC3339 text format.
datadog_display_namecorestring
descriptioncorestringAn optional description of this resource. Provide this property when you create the resource.
diskscorejson
gcp_statuscorestring[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. Possible values: ['CREATING', 'DELETING', 'INVALID', 'READY']. Values descriptions: ['Resources are being allocated.', 'The node template is currently being deleted.', 'Invalid status.', 'The node template is ready.']
idcorestring[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kindcorestring[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
labelscorearray<string>
namecorestringThe name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
node_typecorestringThe node type to use for nodes group that are created from this template.
node_type_flexibilitycorejsonDo not use. Instead, use the node_type property.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
regioncorestring[Output Only] The name of the region where the node template resides, such as us-central1.
resource_namecorestring
self_linkcorestring[Output Only] Server-defined URL for the resource.
server_bindingcorejsonSets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
status_messagecorestring[Output Only] An optional, human-readable explanation of the status.
tagscorehstore