NodeGroupArgs constructor
- Input<
NodeGroupAutoscalingPolicy?> ? autoscalingPolicy, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
int?> ? initialSize, - Input<
String?> ? maintenanceInterval, - Input<
String?> ? maintenancePolicy, - Input<
NodeGroupMaintenanceWindow?> ? maintenanceWindow, - Input<
String?> ? name, - required Input<
String> nodeTemplate, - Input<
String?> ? project, - Input<
String?> ? zone,
Creates a new NodeGroupArgs.
autoscalingPolicy If you use sole-tenant nodes for your workloads, you can use the node
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description An optional textual description of the resource.
initialSize The initial number of nodes in the node group. One of initialSize or autoscalingPolicy must be configured on resource creation.
maintenanceInterval (Optional, Beta)
maintenancePolicy 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.
maintenanceWindow contains properties for the timeframe of maintenance
name Name of the resource.
nodeTemplate The URL of the node template to which this node group belongs.
project The ID of the project in which the resource belongs.
shareSettings Share settings for the node group.
zone Zone where this node group is located
Implementation
const NodeGroupArgs({
this.autoscalingPolicy,
this.deletionPolicy,
this.description,
this.initialSize,
this.maintenanceInterval,
this.maintenancePolicy,
this.maintenanceWindow,
this.name,
required this.nodeTemplate,
this.project,
this.shareSettings,
this.zone,
});