A Node Group in Google Cloud is a collection of virtual machine instances within a single zone that share the same configuration. It is commonly used with managed instance groups or sole-tenant nodes to organize and manage compute resources. Node Groups allow you to control placement, scheduling, and scaling of workloads across nodes, providing flexibility for high availability, performance optimization, and licensing requirements.

gcp.compute_node_group

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
autoscaling_policycorejsonSpecifies how autoscaling should behave.
creation_timestampcoretimestampOutput only. [Output Only] Creation timestamp inRFC3339 text format.
datadog_display_namecorestring
descriptioncorestringAn optional description of this resource. Provide this property when you create the resource.
gcp_statuscorestring
idcorestringOutput only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
kindcorestringOutput only. [Output Only] The type of the resource. Alwayscompute#nodeGroup for node group.
labelscorearray<string>
location_hintcorestringAn opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
maintenance_intervalcorestringSpecifies the frequency of planned maintenance events. The accepted values are: `AS_NEEDED` and `RECURRENT`.
maintenance_policycorestringSpecifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT,RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.
maintenance_windowcorejson
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 withRFC1035. 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_templatecorestringURL of the node template to create the node group from.
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
self_linkcorestringOutput only. [Output Only] Server-defined URL for the resource.
share_settingscorejsonShare-settings for the node group
sizecoreint64Output only. [Output Only] The total number of nodes in the node group.
tagscorehstore_csv
zonecorestringOutput only. [Output Only] The name of the zone where the node group resides, such as us-central1-a.
zone_idcorestring