- Resource: NodeGroup
- Status
- AutoscalingPolicy
- Mode
- MaintenancePolicy
- MaintenanceWindow
- MaintenanceInterval
- Methods
Resource: NodeGroup
Represents a sole-tenant Node Group resource.
A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.
| JSON representation |
|---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "nodeTemplate": string, "zone": string, "selfLink": string, "status": enum ( |
| Fields | |
|---|---|
kind |
Output only. The type of the resource. Always |
id |
Output only. The unique identifier for the resource. This identifier is defined by the server. |
creationTimestamp |
Output only. Creation timestamp in RFC3339 text format. |
name |
The 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 |
description |
An optional description of this resource. Provide this property when you create the resource. |
nodeTemplate |
URL of the node template to create the node group from. |
zone |
Output only. The name of the zone where the node group resides, such as us-central1-a. |
selfLink |
Output only. Server-defined URL for the resource. |
status |
|
size |
Output only. The total number of nodes in the node group. |
autoscalingPolicy |
Specifies how autoscaling should behave. |
maintenancePolicy |
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: |
locationHint |
An 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 locationHint present in the NodeTemplate. Available from 2026-03-01.. |
fingerprint |
A base64-encoded string. |
maintenanceWindow |
|
shareSettings |
Share-settings for the node group |
maintenanceInterval |
Specifies the frequency of planned maintenance events. The accepted values are: Available from 2026-03-01.. |
Status
| Enums | |
|---|---|
INVALID |
|
CREATING |
|
READY |
|
DELETING |
|
AutoscalingPolicy
| JSON representation |
|---|
{
"mode": enum ( |
| Fields | |
|---|---|
mode |
The autoscaling mode. Set to one of: |
minNodes |
The minimum number of nodes that the group should have. |
maxNodes |
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. |
Mode
| Enums | |
|---|---|
MODE_UNSPECIFIED |
|
ON |
Autocaling is fully enabled. |
OFF |
Autoscaling is disabled. |
ONLY_SCALE_OUT |
Autoscaling will only scale out and will not remove nodes. |
MaintenancePolicy
| Enums | |
|---|---|
MAINTENANCE_POLICY_UNSPECIFIED |
|
DEFAULT |
Allow the node and corresponding instances to retain default maintenance behavior. |
MIGRATE_WITHIN_NODE_GROUP |
When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. |
RESTART_IN_PLACE |
Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. |
MaintenanceWindow
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
| JSON representation |
|---|
{
"startTime": string,
"maintenanceDuration": {
object ( |
| Fields | |
|---|---|
startTime |
Start time of the window. This must be in UTC format that resolves to one of |
maintenanceDuration |
Output only. A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. |
MaintenanceInterval
Allows selecting how infrastructure upgrades should be applied to this VM. AS_NEEDED pushes updates as soon as they become available while PERIODIC and RECURRENT attempts to follow a less frequent, fixed schedule. RECURRENT is used for GEN3 and Slice of Hardware VMs.
| Enums | |
|---|---|
AS_NEEDED |
VMs are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the VM than the Available from 2026-03-01.. |
RECURRENT |
VMs receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean a VM will take longer to receive an update than if it was configured for Available from 2026-03-01.. |
Methods |
|
|---|---|
|
Adds specified number of nodes to the node group. |
|
Retrieves an aggregated list of node groups. |
|
Deletes the specified NodeGroup resource. |
|
Deletes specified nodes from the node group. |
|
Returns the specified NodeGroup. |
|
Creates a NodeGroup resource in the specified project using the data included in the request. |
|
Retrieves a list of node groups available to the specified project. |
|
Lists nodes in the node group. |
|
Updates the specified node group. |
|
Updates the node template of the node group. |
|
The method compute.v1.NodeGroupsService.GetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.NodeGroupsService.PerformMaintenance is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.NodeGroupsService.SetPolicy is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.NodeGroupsService.SimulateMaintenanceEvent is not available in Cloud de Confiance by S3NS. |
|
The method compute.v1.NodeGroupsService.TestPermissions is not available in Cloud de Confiance by S3NS. |