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. |
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:
,
, or
. The default value is
. For more information, see Maintenance policies. |
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. |
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: |
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. |
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
,
,
,
,
, or
. For example, both
and
are valid. |
maintenanceDuration |
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. |
Methods |
|
---|---|
|
The method compute.beta.NodeGroupsService.AddNodes is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.AggregatedList is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.Delete is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.DeleteNodes is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.Get is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.GetPolicy is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.Insert is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.List is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.ListNodes is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.Patch is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.PerformMaintenance is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.SetPolicy is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.SetNodeTemplate is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.SimulateMaintenanceEvent is not available in Trusted Cloud by S3NS. |
|
The method compute.beta.NodeGroupsService.TestPermissions is not available in Trusted Cloud by S3NS. |