- 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
for node group. |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creation |
[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. |
node |
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. |
self |
[Output Only] Server-defined URL for the resource. |
status |
|
size |
[Output Only] The total number of nodes in the node group. |
autoscaling |
Specifies how autoscaling should behave. |
maintenance |
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of:
,
, or
. The default value is
. For more information, see Maintenance policies. |
location |
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. |
fingerprint |
A base64-encoded string. |
maintenance |
|
share |
Share-settings for the node group |
maintenance |
Specifies the frequency of planned maintenance events. The accepted values are: |
Status
Enums | |
---|---|
INVALID |
|
CREATING |
|
READY |
|
DELETING |
AutoscalingPolicy
JSON representation |
---|
{
"mode": enum ( |
Fields | |
---|---|
mode |
The autoscaling mode. Set to one of:
,
, or
. For more information, see Autoscaler modes. |
min |
The minimum number of nodes that the group should have. |
max |
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 | |
---|---|
start |
Start time of the window. This must be in UTC format that resolves to one of
,
,
,
,
, or
. For example, both
and
are valid. |
maintenance |
[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
and
options. |
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
. Security updates will still be applied as soon as they are available.
is used for GEN3 and Slice of Hardware VMs. |
Methods |
|
---|---|
|
The method compute.v1.NodeGroupsService.AddNodes is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.AggregatedList is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.Delete is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.DeleteNodes is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.Get is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.GetPolicy is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.Insert is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.List is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.ListNodes is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.Patch is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.PerformMaintenance is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.SetPolicy is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.SetNodeTemplate is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.SimulateMaintenanceEvent is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.NodeGroupsService.TestPermissions is not available in this (s3nsapis.fr) universe. |