pub struct NodeGroupResult {Show 14 fields
pub autoscaling_policy: Output<NodeGroupAutoscalingPolicy>,
pub creation_timestamp: Output<String>,
pub description: Output<Option<String>>,
pub initial_size: Output<Option<i32>>,
pub maintenance_interval: Output<String>,
pub maintenance_policy: Output<Option<String>>,
pub maintenance_window: Output<Option<NodeGroupMaintenanceWindow>>,
pub name: Output<String>,
pub node_template: Output<String>,
pub project: Output<String>,
pub self_link: Output<String>,
pub share_settings: Output<NodeGroupShareSettings>,
pub size: Output<i32>,
pub zone: Output<String>,
}
Fields§
§autoscaling_policy: Output<NodeGroupAutoscalingPolicy>
If you use sole-tenant nodes for your workloads, you can use the node
group autoscaler to automatically manage the sizes of your node groups.
One of initial_size
or autoscaling_policy
must be configured on resource creation.
Structure is documented below.
creation_timestamp: Output<String>
Creation timestamp in RFC3339 text format.
description: Output<Option<String>>
An optional textual description of the resource.
initial_size: Output<Option<i32>>
The initial number of nodes in the node group. One of initial_size
or autoscaling_policy
must be configured on resource creation.
maintenance_interval: Output<String>
Specifies the frequency of planned maintenance events. Set to one of the following:
- AS_NEEDED: Hosts are eligible to receive infrastructure and hypervisor updates as they become available.
- RECURRENT: Hosts receive planned infrastructure and hypervisor updates on a periodic basis, but not more frequently than every 28 days. This minimizes the number of planned maintenance operations on individual hosts and reduces the frequency of disruptions, both live migrations and terminations, on individual VMs.
Possible values are:
AS_NEEDED
,RECURRENT
.
maintenance_policy: Output<Option<String>>
Specifies 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.
maintenance_window: Output<Option<NodeGroupMaintenanceWindow>>
contains properties for the timeframe of maintenance Structure is documented below.
name: Output<String>
Name of the resource.
node_template: Output<String>
The URL of the node template to which this node group belongs.
project: Output<String>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
self_link: Output<String>
The URI of the created resource.
Share settings for the node group. Structure is documented below.
size: Output<i32>
The total number of nodes in the node group.
zone: Output<String>
Zone where this node group is located