Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Create NodeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeTemplate(name: string, args?: NodeTemplateArgs, opts?: CustomResourceOptions);@overload
def NodeTemplate(resource_name: str,
args: Optional[NodeTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def NodeTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
clm_enabled: Optional[bool] = None,
cluster_id: Optional[str] = None,
configuration_id: Optional[str] = None,
constraints: Optional[NodeTemplateConstraintsArgs] = None,
custom_instances_enabled: Optional[bool] = None,
custom_instances_with_extended_memory_enabled: Optional[bool] = None,
custom_labels: Optional[Mapping[str, str]] = None,
custom_taints: Optional[Sequence[NodeTemplateCustomTaintArgs]] = None,
edge_location_ids: Optional[Sequence[str]] = None,
gpu: Optional[NodeTemplateGpuArgs] = None,
is_default: Optional[bool] = None,
is_enabled: Optional[bool] = None,
name: Optional[str] = None,
price_adjustment_configuration: Optional[NodeTemplatePriceAdjustmentConfigurationArgs] = None,
rebalancing_config_min_nodes: Optional[int] = None,
should_taint: Optional[bool] = None)func NewNodeTemplate(ctx *Context, name string, args *NodeTemplateArgs, opts ...ResourceOption) (*NodeTemplate, error)public NodeTemplate(string name, NodeTemplateArgs? args = null, CustomResourceOptions? opts = null)
public NodeTemplate(String name, NodeTemplateArgs args)
public NodeTemplate(String name, NodeTemplateArgs args, CustomResourceOptions options)
type: castai:config/node:NodeTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "castai_config_node_template" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
NodeTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NodeTemplate resource accepts the following input properties:
- Clm
Enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- Cluster
Id string - CAST AI cluster id.
- Configuration
Id string - CAST AI node configuration id to be used for node template.
- Constraints
Pulumi.
Cast AI. Config. Inputs. Node Template Constraints - Custom
Instances boolEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Instances boolWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Labels Dictionary<string, string> - Custom labels to be added to nodes created from this template.
- Custom
Taints List<Pulumi.Cast AI. Config. Inputs. Node Template Custom Taint> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - Edge
Location List<string>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- Gpu
Pulumi.
Cast AI. Config. Inputs. Node Template Gpu - GPU configuration.
- Is
Default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- Price
Adjustment Pulumi.Configuration Cast AI. Config. Inputs. Node Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- Rebalancing
Config intMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- Should
Taint bool - Marks whether the templated nodes will have a taint.
- Clm
Enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- Cluster
Id string - CAST AI cluster id.
- Configuration
Id string - CAST AI node configuration id to be used for node template.
- Constraints
Node
Template Constraints Args - Custom
Instances boolEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Instances boolWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Labels map[string]string - Custom labels to be added to nodes created from this template.
- Custom
Taints []NodeTemplate Custom Taint Args - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - Edge
Location []stringIds - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- Gpu
Node
Template Gpu Args - GPU configuration.
- Is
Default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- Price
Adjustment NodeConfiguration Template Price Adjustment Configuration Args - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- Rebalancing
Config intMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- Should
Taint bool - Marks whether the templated nodes will have a taint.
- clm_
enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster_
id string - CAST AI cluster id.
- configuration_
id string - CAST AI node configuration id to be used for node template.
- constraints object
- custom_
instances_ boolenabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
instances_ boolwith_ extended_ memory_ enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
labels map(string) - Custom labels to be added to nodes created from this template.
- custom_
taints list(object) - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge_
location_ list(string)ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu object
- GPU configuration.
- is_
default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- price_
adjustment_ objectconfiguration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing_
config_ numbermin_ nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_
taint bool - Marks whether the templated nodes will have a taint.
- clm
Enabled Boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id String - CAST AI cluster id.
- configuration
Id String - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints - custom
Instances BooleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances BooleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels Map<String,String> - Custom labels to be added to nodes created from this template.
- custom
Taints List<NodeTemplate Custom Taint> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location List<String>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu - GPU configuration.
- is
Default Boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- price
Adjustment NodeConfiguration Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config IntegerMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint Boolean - Marks whether the templated nodes will have a taint.
- clm
Enabled boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id string - CAST AI cluster id.
- configuration
Id string - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints - custom
Instances booleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances booleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels {[key: string]: string} - Custom labels to be added to nodes created from this template.
- custom
Taints NodeTemplate Custom Taint[] - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location string[]Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu - GPU configuration.
- is
Default boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled boolean - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- price
Adjustment NodeConfiguration Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config numberMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint boolean - Marks whether the templated nodes will have a taint.
- clm_
enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster_
id str - CAST AI cluster id.
- configuration_
id str - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints Args - custom_
instances_ boolenabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
instances_ boolwith_ extended_ memory_ enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
labels Mapping[str, str] - Custom labels to be added to nodes created from this template.
- custom_
taints Sequence[NodeTemplate Custom Taint Args] - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge_
location_ Sequence[str]ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu Args - GPU configuration.
- is_
default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- price_
adjustment_ Nodeconfiguration Template Price Adjustment Configuration Args - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing_
config_ intmin_ nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_
taint bool - Marks whether the templated nodes will have a taint.
- clm
Enabled Boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id String - CAST AI cluster id.
- configuration
Id String - CAST AI node configuration id to be used for node template.
- constraints Property Map
- custom
Instances BooleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances BooleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels Map<String> - Custom labels to be added to nodes created from this template.
- custom
Taints List<Property Map> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location List<String>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu Property Map
- GPU configuration.
- is
Default Boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- price
Adjustment Property MapConfiguration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config NumberMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint Boolean - Marks whether the templated nodes will have a taint.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NodeTemplate Resource
Get an existing NodeTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NodeTemplateState, opts?: CustomResourceOptions): NodeTemplate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
clm_enabled: Optional[bool] = None,
cluster_id: Optional[str] = None,
configuration_id: Optional[str] = None,
constraints: Optional[NodeTemplateConstraintsArgs] = None,
custom_instances_enabled: Optional[bool] = None,
custom_instances_with_extended_memory_enabled: Optional[bool] = None,
custom_labels: Optional[Mapping[str, str]] = None,
custom_taints: Optional[Sequence[NodeTemplateCustomTaintArgs]] = None,
edge_location_ids: Optional[Sequence[str]] = None,
gpu: Optional[NodeTemplateGpuArgs] = None,
is_default: Optional[bool] = None,
is_enabled: Optional[bool] = None,
name: Optional[str] = None,
price_adjustment_configuration: Optional[NodeTemplatePriceAdjustmentConfigurationArgs] = None,
rebalancing_config_min_nodes: Optional[int] = None,
should_taint: Optional[bool] = None) -> NodeTemplatefunc GetNodeTemplate(ctx *Context, name string, id IDInput, state *NodeTemplateState, opts ...ResourceOption) (*NodeTemplate, error)public static NodeTemplate Get(string name, Input<string> id, NodeTemplateState? state, CustomResourceOptions? opts = null)public static NodeTemplate get(String name, Output<String> id, NodeTemplateState state, CustomResourceOptions options)resources: _: type: castai:config/node:NodeTemplate get: id: ${id}import {
to = castai_config_node_template.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Clm
Enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- Cluster
Id string - CAST AI cluster id.
- Configuration
Id string - CAST AI node configuration id to be used for node template.
- Constraints
Pulumi.
Cast AI. Config. Inputs. Node Template Constraints - Custom
Instances boolEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Instances boolWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Labels Dictionary<string, string> - Custom labels to be added to nodes created from this template.
- Custom
Taints List<Pulumi.Cast AI. Config. Inputs. Node Template Custom Taint> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - Edge
Location List<string>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- Gpu
Pulumi.
Cast AI. Config. Inputs. Node Template Gpu - GPU configuration.
- Is
Default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- Price
Adjustment Pulumi.Configuration Cast AI. Config. Inputs. Node Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- Rebalancing
Config intMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- Should
Taint bool - Marks whether the templated nodes will have a taint.
- Clm
Enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- Cluster
Id string - CAST AI cluster id.
- Configuration
Id string - CAST AI node configuration id to be used for node template.
- Constraints
Node
Template Constraints Args - Custom
Instances boolEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Instances boolWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- Custom
Labels map[string]string - Custom labels to be added to nodes created from this template.
- Custom
Taints []NodeTemplate Custom Taint Args - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - Edge
Location []stringIds - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- Gpu
Node
Template Gpu Args - GPU configuration.
- Is
Default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- Price
Adjustment NodeConfiguration Template Price Adjustment Configuration Args - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- Rebalancing
Config intMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- Should
Taint bool - Marks whether the templated nodes will have a taint.
- clm_
enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster_
id string - CAST AI cluster id.
- configuration_
id string - CAST AI node configuration id to be used for node template.
- constraints object
- custom_
instances_ boolenabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
instances_ boolwith_ extended_ memory_ enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
labels map(string) - Custom labels to be added to nodes created from this template.
- custom_
taints list(object) - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge_
location_ list(string)ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu object
- GPU configuration.
- is_
default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- price_
adjustment_ objectconfiguration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing_
config_ numbermin_ nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_
taint bool - Marks whether the templated nodes will have a taint.
- clm
Enabled Boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id String - CAST AI cluster id.
- configuration
Id String - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints - custom
Instances BooleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances BooleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels Map<String,String> - Custom labels to be added to nodes created from this template.
- custom
Taints List<NodeTemplate Custom Taint> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location List<String>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu - GPU configuration.
- is
Default Boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- price
Adjustment NodeConfiguration Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config IntegerMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint Boolean - Marks whether the templated nodes will have a taint.
- clm
Enabled boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id string - CAST AI cluster id.
- configuration
Id string - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints - custom
Instances booleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances booleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels {[key: string]: string} - Custom labels to be added to nodes created from this template.
- custom
Taints NodeTemplate Custom Taint[] - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location string[]Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu - GPU configuration.
- is
Default boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled boolean - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- price
Adjustment NodeConfiguration Template Price Adjustment Configuration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config numberMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint boolean - Marks whether the templated nodes will have a taint.
- clm_
enabled bool - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster_
id str - CAST AI cluster id.
- configuration_
id str - CAST AI node configuration id to be used for node template.
- constraints
Node
Template Constraints Args - custom_
instances_ boolenabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
instances_ boolwith_ extended_ memory_ enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_
labels Mapping[str, str] - Custom labels to be added to nodes created from this template.
- custom_
taints Sequence[NodeTemplate Custom Taint Args] - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge_
location_ Sequence[str]ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu
Node
Template Gpu Args - GPU configuration.
- is_
default bool - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- price_
adjustment_ Nodeconfiguration Template Price Adjustment Configuration Args - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing_
config_ intmin_ nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_
taint bool - Marks whether the templated nodes will have a taint.
- clm
Enabled Boolean - Marks whether Container Live Migration (CLM) should be enabled for nodes created from this template. Supported on EKS, GKE, and AKS clusters. CLM-enabled nodes participate in live workload migration during rebalancing, scale-down, and node lifecycle events.
- cluster
Id String - CAST AI cluster id.
- configuration
Id String - CAST AI node configuration id to be used for node template.
- constraints Property Map
- custom
Instances BooleanEnabled - Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Instances BooleanWith Extended Memory Enabled - Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom
Labels Map<String> - Custom labels to be added to nodes created from this template.
- custom
Taints List<Property Map> - Custom taints to be added to the nodes created from this template.
shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint. - edge
Location List<String>Ids - List of edge location IDs to associate with this node template. Must be valid UUIDs referencing castaiEdgeLocation resources.
- gpu Property Map
- GPU configuration.
- is
Default Boolean - Flag whether the node template is default. It's is always set to 'true' on 'default-by-castai' node template and 'false' otherwise.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- price
Adjustment Property MapConfiguration - Configuration for adjusting instance type prices during autoscaling. Adjustments only affect placement decisions, not cost reporting.
- rebalancing
Config NumberMin Nodes - Minimum nodes that will be kept when rebalancing nodes using this node template.
- should
Taint Boolean - Marks whether the templated nodes will have a taint.
Supporting Types
NodeTemplateConstraints, NodeTemplateConstraintsArgs
- Architecture
Priorities List<string> - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- Architectures List<string>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- Aws
Pulumi.
Cast AI. Config. Inputs. Node Template Constraints Aws - AWS-specific constraints for the node template.
- Azs List<string>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- Bare
Metal string - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- Burstable
Instances string - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Compute
Optimized bool - Compute optimized instance constraint (deprecated).
- Compute
Optimized stringState - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - Cpu
Manufacturers List<string> - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- Custom
Priorities List<Pulumi.Cast AI. Config. Inputs. Node Template Constraints Custom Priority> - Customer
Specific string - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Dedicated
Node List<Pulumi.Affinities Cast AI. Config. Inputs. Node Template Constraints Dedicated Node Affinity> - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- Enable
Spot boolDiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- Fallback
Restore intRate Seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- Gcp
Pulumi.
Cast AI. Config. Inputs. Node Template Constraints Gcp - GCP-specific constraints for the node template.
- Gpu
Pulumi.
Cast AI. Config. Inputs. Node Template Constraints Gpu - Instance
Families Pulumi.Cast AI. Config. Inputs. Node Template Constraints Instance Families - Is
Gpu boolOnly - GPU instance constraint - will only pick nodes with GPU if true
- Max
Cpu int - Max CPU cores per node.
- Max
Memory int - Max Memory (Mib) per node.
- Max
Price doublePer Cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- Min
Cpu int - Min CPU cores per node.
- Min
Memory int - Min Memory (Mib) per node.
- On
Demand bool - Should include on-demand instances in the considered pool.
- Os List<string>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- Resource
Limits Pulumi.Cast AI. Config. Inputs. Node Template Constraints Resource Limits - Spot bool
- Should include spot instances in the considered pool.
- Spot
Diversity intPrice Increase Limit Percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- Spot
Interruption boolPredictions Enabled - Enable/disable spot interruption predictions.
- Spot
Interruption stringPredictions Type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- Spot
Reliability boolEnabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- Spot
Reliability intPrice Increase Limit Percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- Storage
Optimized bool - Storage optimized instance constraint (deprecated).
- Storage
Optimized stringState - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - Use
Spot boolFallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- Architecture
Priorities []string - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- Architectures []string
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- Aws
Node
Template Constraints Aws - AWS-specific constraints for the node template.
- Azs []string
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- Bare
Metal string - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- Burstable
Instances string - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Compute
Optimized bool - Compute optimized instance constraint (deprecated).
- Compute
Optimized stringState - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - Cpu
Manufacturers []string - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- Custom
Priorities []NodeTemplate Constraints Custom Priority - Customer
Specific string - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Dedicated
Node []NodeAffinities Template Constraints Dedicated Node Affinity - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- Enable
Spot boolDiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- Fallback
Restore intRate Seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- Gcp
Node
Template Constraints Gcp - GCP-specific constraints for the node template.
- Gpu
Node
Template Constraints Gpu - Instance
Families NodeTemplate Constraints Instance Families - Is
Gpu boolOnly - GPU instance constraint - will only pick nodes with GPU if true
- Max
Cpu int - Max CPU cores per node.
- Max
Memory int - Max Memory (Mib) per node.
- Max
Price float64Per Cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- Min
Cpu int - Min CPU cores per node.
- Min
Memory int - Min Memory (Mib) per node.
- On
Demand bool - Should include on-demand instances in the considered pool.
- Os []string
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- Resource
Limits NodeTemplate Constraints Resource Limits - Spot bool
- Should include spot instances in the considered pool.
- Spot
Diversity intPrice Increase Limit Percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- Spot
Interruption boolPredictions Enabled - Enable/disable spot interruption predictions.
- Spot
Interruption stringPredictions Type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- Spot
Reliability boolEnabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- Spot
Reliability intPrice Increase Limit Percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- Storage
Optimized bool - Storage optimized instance constraint (deprecated).
- Storage
Optimized stringState - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - Use
Spot boolFallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture_
priorities list(string) - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures list(string)
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- aws object
- AWS-specific constraints for the node template.
- azs list(string)
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- bare_
metal string - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- burstable_
instances string - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - compute_
optimized bool - Compute optimized instance constraint (deprecated).
- compute_
optimized_ stringstate - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - cpu_
manufacturers list(string) - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom_
priorities list(object) - customer_
specific string - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - dedicated_
node_ list(object)affinities - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable_
spot_ booldiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback_
restore_ numberrate_ seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gcp object
- GCP-specific constraints for the node template.
- gpu object
- instance_
families object - is_
gpu_ boolonly - GPU instance constraint - will only pick nodes with GPU if true
- max_
cpu number - Max CPU cores per node.
- max_
memory number - Max Memory (Mib) per node.
- max_
price_ numberper_ cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- min_
cpu number - Min CPU cores per node.
- min_
memory number - Min Memory (Mib) per node.
- on_
demand bool - Should include on-demand instances in the considered pool.
- os list(string)
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource_
limits object - spot bool
- Should include spot instances in the considered pool.
- spot_
diversity_ numberprice_ increase_ limit_ percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot_
interruption_ boolpredictions_ enabled - Enable/disable spot interruption predictions.
- spot_
interruption_ stringpredictions_ type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- spot_
reliability_ boolenabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- spot_
reliability_ numberprice_ increase_ limit_ percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- storage_
optimized bool - Storage optimized instance constraint (deprecated).
- storage_
optimized_ stringstate - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - use_
spot_ boolfallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture
Priorities List<String> - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures List<String>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- aws
Node
Template Constraints Aws - AWS-specific constraints for the node template.
- azs List<String>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- bare
Metal String - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- burstable
Instances String - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - compute
Optimized Boolean - Compute optimized instance constraint (deprecated).
- compute
Optimized StringState - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - cpu
Manufacturers List<String> - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom
Priorities List<NodeTemplate Constraints Custom Priority> - customer
Specific String - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - dedicated
Node List<NodeAffinities Template Constraints Dedicated Node Affinity> - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable
Spot BooleanDiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback
Restore IntegerRate Seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gcp
Node
Template Constraints Gcp - GCP-specific constraints for the node template.
- gpu
Node
Template Constraints Gpu - instance
Families NodeTemplate Constraints Instance Families - is
Gpu BooleanOnly - GPU instance constraint - will only pick nodes with GPU if true
- max
Cpu Integer - Max CPU cores per node.
- max
Memory Integer - Max Memory (Mib) per node.
- max
Price DoublePer Cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- min
Cpu Integer - Min CPU cores per node.
- min
Memory Integer - Min Memory (Mib) per node.
- on
Demand Boolean - Should include on-demand instances in the considered pool.
- os List<String>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource
Limits NodeTemplate Constraints Resource Limits - spot Boolean
- Should include spot instances in the considered pool.
- spot
Diversity IntegerPrice Increase Limit Percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot
Interruption BooleanPredictions Enabled - Enable/disable spot interruption predictions.
- spot
Interruption StringPredictions Type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- spot
Reliability BooleanEnabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- spot
Reliability IntegerPrice Increase Limit Percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- storage
Optimized Boolean - Storage optimized instance constraint (deprecated).
- storage
Optimized StringState - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - use
Spot BooleanFallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture
Priorities string[] - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures string[]
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- aws
Node
Template Constraints Aws - AWS-specific constraints for the node template.
- azs string[]
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- bare
Metal string - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- burstable
Instances string - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - compute
Optimized boolean - Compute optimized instance constraint (deprecated).
- compute
Optimized stringState - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - cpu
Manufacturers string[] - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom
Priorities NodeTemplate Constraints Custom Priority[] - customer
Specific string - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - dedicated
Node NodeAffinities Template Constraints Dedicated Node Affinity[] - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable
Spot booleanDiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback
Restore numberRate Seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gcp
Node
Template Constraints Gcp - GCP-specific constraints for the node template.
- gpu
Node
Template Constraints Gpu - instance
Families NodeTemplate Constraints Instance Families - is
Gpu booleanOnly - GPU instance constraint - will only pick nodes with GPU if true
- max
Cpu number - Max CPU cores per node.
- max
Memory number - Max Memory (Mib) per node.
- max
Price numberPer Cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- min
Cpu number - Min CPU cores per node.
- min
Memory number - Min Memory (Mib) per node.
- on
Demand boolean - Should include on-demand instances in the considered pool.
- os string[]
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource
Limits NodeTemplate Constraints Resource Limits - spot boolean
- Should include spot instances in the considered pool.
- spot
Diversity numberPrice Increase Limit Percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot
Interruption booleanPredictions Enabled - Enable/disable spot interruption predictions.
- spot
Interruption stringPredictions Type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- spot
Reliability booleanEnabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- spot
Reliability numberPrice Increase Limit Percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- storage
Optimized boolean - Storage optimized instance constraint (deprecated).
- storage
Optimized stringState - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - use
Spot booleanFallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture_
priorities Sequence[str] - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures Sequence[str]
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- aws
Node
Template Constraints Aws - AWS-specific constraints for the node template.
- azs Sequence[str]
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- bare_
metal str - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- burstable_
instances str - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - compute_
optimized bool - Compute optimized instance constraint (deprecated).
- compute_
optimized_ strstate - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - cpu_
manufacturers Sequence[str] - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom_
priorities Sequence[NodeTemplate Constraints Custom Priority] - customer_
specific str - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - dedicated_
node_ Sequence[Nodeaffinities Template Constraints Dedicated Node Affinity] - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable_
spot_ booldiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback_
restore_ intrate_ seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gcp
Node
Template Constraints Gcp - GCP-specific constraints for the node template.
- gpu
Node
Template Constraints Gpu - instance_
families NodeTemplate Constraints Instance Families - is_
gpu_ boolonly - GPU instance constraint - will only pick nodes with GPU if true
- max_
cpu int - Max CPU cores per node.
- max_
memory int - Max Memory (Mib) per node.
- max_
price_ floatper_ cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- min_
cpu int - Min CPU cores per node.
- min_
memory int - Min Memory (Mib) per node.
- on_
demand bool - Should include on-demand instances in the considered pool.
- os Sequence[str]
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource_
limits NodeTemplate Constraints Resource Limits - spot bool
- Should include spot instances in the considered pool.
- spot_
diversity_ intprice_ increase_ limit_ percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot_
interruption_ boolpredictions_ enabled - Enable/disable spot interruption predictions.
- spot_
interruption_ strpredictions_ type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- spot_
reliability_ boolenabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- spot_
reliability_ intprice_ increase_ limit_ percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- storage_
optimized bool - Storage optimized instance constraint (deprecated).
- storage_
optimized_ strstate - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - use_
spot_ boolfallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture
Priorities List<String> - Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures List<String>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- aws Property Map
- AWS-specific constraints for the node template.
- azs List<String>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- bare
Metal String - Bare metal constraint, will only pick bare metal nodes if set to true. Will only pick non-bare metal nodes if false. Defaults to unspecified. Allowed values: true, false, unspecified.
- burstable
Instances String - Will include burstable instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - compute
Optimized Boolean - Compute optimized instance constraint (deprecated).
- compute
Optimized StringState - Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values:
enabled,disabledor empty string. - cpu
Manufacturers List<String> - List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom
Priorities List<Property Map> - customer
Specific String - Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - dedicated
Node List<Property Map>Affinities - Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable
Spot BooleanDiversity - Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback
Restore NumberRate Seconds - Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gcp Property Map
- GCP-specific constraints for the node template.
- gpu Property Map
- instance
Families Property Map - is
Gpu BooleanOnly - GPU instance constraint - will only pick nodes with GPU if true
- max
Cpu Number - Max CPU cores per node.
- max
Memory Number - Max Memory (Mib) per node.
- max
Price NumberPer Cpu - Maximum price per vCPU threshold. When price adjustments are configured, the filter applies to the adjusted price.
- min
Cpu Number - Min CPU cores per node.
- min
Memory Number - Min Memory (Mib) per node.
- on
Demand Boolean - Should include on-demand instances in the considered pool.
- os List<String>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource
Limits Property Map - spot Boolean
- Should include spot instances in the considered pool.
- spot
Diversity NumberPrice Increase Limit Percent - Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot
Interruption BooleanPredictions Enabled - Enable/disable spot interruption predictions.
- spot
Interruption StringPredictions Type - Spot interruption predictions type. Only "interruption-predictions" is supported.
- spot
Reliability BooleanEnabled - Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
- spot
Reliability NumberPrice Increase Limit Percent - Allowed node price increase when using spot reliability on ordering the instance types . E.g. if the value is 10%, then the overall price of instance types can be 10% higher than the price of the optimal configuration.
- storage
Optimized Boolean - Storage optimized instance constraint (deprecated).
- storage
Optimized StringState - Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values:
enabled,disabledor empty string. - use
Spot BooleanFallbacks - Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
NodeTemplateConstraintsAws, NodeTemplateConstraintsAwsArgs
- Capacity
Reservations List<Pulumi.Cast AI. Config. Inputs. Node Template Constraints Aws Capacity Reservation> - Capacity reservations that this template can use for provisioning.
- Capacity
Reservations []NodeTemplate Constraints Aws Capacity Reservation - Capacity reservations that this template can use for provisioning.
- capacity_
reservations list(object) - Capacity reservations that this template can use for provisioning.
- capacity
Reservations List<NodeTemplate Constraints Aws Capacity Reservation> - Capacity reservations that this template can use for provisioning.
- capacity
Reservations NodeTemplate Constraints Aws Capacity Reservation[] - Capacity reservations that this template can use for provisioning.
- capacity_
reservations Sequence[NodeTemplate Constraints Aws Capacity Reservation] - Capacity reservations that this template can use for provisioning.
- capacity
Reservations List<Property Map> - Capacity reservations that this template can use for provisioning.
NodeTemplateConstraintsAwsCapacityReservation, NodeTemplateConstraintsAwsCapacityReservationArgs
- Capacity
Resource stringGroup Arn - Capacity resource group ARN for UltraServer capacity blocks.
- Id string
- AWS capacity reservation ID.
- Type string
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- Capacity
Resource stringGroup Arn - Capacity resource group ARN for UltraServer capacity blocks.
- Id string
- AWS capacity reservation ID.
- Type string
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- capacity_
resource_ stringgroup_ arn - Capacity resource group ARN for UltraServer capacity blocks.
- id string
- AWS capacity reservation ID.
- type string
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- capacity
Resource StringGroup Arn - Capacity resource group ARN for UltraServer capacity blocks.
- id String
- AWS capacity reservation ID.
- type String
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- capacity
Resource stringGroup Arn - Capacity resource group ARN for UltraServer capacity blocks.
- id string
- AWS capacity reservation ID.
- type string
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- capacity_
resource_ strgroup_ arn - Capacity resource group ARN for UltraServer capacity blocks.
- id str
- AWS capacity reservation ID.
- type str
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
- capacity
Resource StringGroup Arn - Capacity resource group ARN for UltraServer capacity blocks.
- id String
- AWS capacity reservation ID.
- type String
- Type of capacity reservation. Allowed values: ON_DEMAND_CAPACITY_RESERVATION, CAPACITY_BLOCK.
NodeTemplateConstraintsCustomPriority, NodeTemplateConstraintsCustomPriorityArgs
- Instance
Families List<string> - Instance families to prioritize in this tier.
- On
Demand bool - If true, this tier will apply to on-demand instances.
- Spot bool
- If true, this tier will apply to spot instances.
- Instance
Families []string - Instance families to prioritize in this tier.
- On
Demand bool - If true, this tier will apply to on-demand instances.
- Spot bool
- If true, this tier will apply to spot instances.
- instance_
families list(string) - Instance families to prioritize in this tier.
- on_
demand bool - If true, this tier will apply to on-demand instances.
- spot bool
- If true, this tier will apply to spot instances.
- instance
Families List<String> - Instance families to prioritize in this tier.
- on
Demand Boolean - If true, this tier will apply to on-demand instances.
- spot Boolean
- If true, this tier will apply to spot instances.
- instance
Families string[] - Instance families to prioritize in this tier.
- on
Demand boolean - If true, this tier will apply to on-demand instances.
- spot boolean
- If true, this tier will apply to spot instances.
- instance_
families Sequence[str] - Instance families to prioritize in this tier.
- on_
demand bool - If true, this tier will apply to on-demand instances.
- spot bool
- If true, this tier will apply to spot instances.
- instance
Families List<String> - Instance families to prioritize in this tier.
- on
Demand Boolean - If true, this tier will apply to on-demand instances.
- spot Boolean
- If true, this tier will apply to spot instances.
NodeTemplateConstraintsDedicatedNodeAffinity, NodeTemplateConstraintsDedicatedNodeAffinityArgs
- Az
Name string - Availability zone name.
- Instance
Types List<string> - Instance/node types in this node group.
- Name string
- Name of node group.
- Affinities
List<Pulumi.
Cast AI. Config. Inputs. Node Template Constraints Dedicated Node Affinity Affinity> - Cpus
Per intGpu - Number of CPUs per GPU on the node.
- Max
Cpu int - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- Min
Gpus intPer Node - Minimal number of GPUs per node.
- Az
Name string - Availability zone name.
- Instance
Types []string - Instance/node types in this node group.
- Name string
- Name of node group.
- Affinities
[]Node
Template Constraints Dedicated Node Affinity Affinity - Cpus
Per intGpu - Number of CPUs per GPU on the node.
- Max
Cpu int - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- Min
Gpus intPer Node - Minimal number of GPUs per node.
- az_
name string - Availability zone name.
- instance_
types list(string) - Instance/node types in this node group.
- name string
- Name of node group.
- affinities list(object)
- cpus_
per_ numbergpu - Number of CPUs per GPU on the node.
- max_
cpu number - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- min_
gpus_ numberper_ node - Minimal number of GPUs per node.
- az
Name String - Availability zone name.
- instance
Types List<String> - Instance/node types in this node group.
- name String
- Name of node group.
- affinities
List<Node
Template Constraints Dedicated Node Affinity Affinity> - cpus
Per IntegerGpu - Number of CPUs per GPU on the node.
- max
Cpu Integer - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- min
Gpus IntegerPer Node - Minimal number of GPUs per node.
- az
Name string - Availability zone name.
- instance
Types string[] - Instance/node types in this node group.
- name string
- Name of node group.
- affinities
Node
Template Constraints Dedicated Node Affinity Affinity[] - cpus
Per numberGpu - Number of CPUs per GPU on the node.
- max
Cpu number - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- min
Gpus numberPer Node - Minimal number of GPUs per node.
- az_
name str - Availability zone name.
- instance_
types Sequence[str] - Instance/node types in this node group.
- name str
- Name of node group.
- affinities
Sequence[Node
Template Constraints Dedicated Node Affinity Affinity] - cpus_
per_ intgpu - Number of CPUs per GPU on the node.
- max_
cpu int - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- min_
gpus_ intper_ node - Minimal number of GPUs per node.
- az
Name String - Availability zone name.
- instance
Types List<String> - Instance/node types in this node group.
- name String
- Name of node group.
- affinities List<Property Map>
- cpus
Per NumberGpu - Number of CPUs per GPU on the node.
- max
Cpu Number - Maximum number of CPUs that can be provisioned from this dedicated node affinity across all nodes for the specific node template. If not set, no CPU cap is applied. If cpusPerGpu is set, maxCpu must be a multiple of cpus_per_gpu.
- min
Gpus NumberPer Node - Minimal number of GPUs per node.
NodeTemplateConstraintsDedicatedNodeAffinityAffinity, NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs
NodeTemplateConstraintsGcp, NodeTemplateConstraintsGcpArgs
- Capacity
Reservation List<string>Ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- Capacity
Reservation []stringIds - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- capacity_
reservation_ list(string)ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- capacity
Reservation List<String>Ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- capacity
Reservation string[]Ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- capacity_
reservation_ Sequence[str]ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
- capacity
Reservation List<String>Ids - GCP capacity reservation IDs (numeric) that this template is allowed to use.
NodeTemplateConstraintsGpu, NodeTemplateConstraintsGpuArgs
- Exclude
Names List<string> - Names of the GPUs to exclude.
- Fractional
Gpus string - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Include
Names List<string> - Instance families to include when filtering (excludes all other families).
- Manufacturers List<string>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- Max
Count int - Max GPU count for the instance type to have.
- Min
Count int - Min GPU count for the instance type to have.
- Exclude
Names []string - Names of the GPUs to exclude.
- Fractional
Gpus string - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - Include
Names []string - Instance families to include when filtering (excludes all other families).
- Manufacturers []string
- Manufacturers of the gpus to select - NVIDIA, AMD.
- Max
Count int - Max GPU count for the instance type to have.
- Min
Count int - Min GPU count for the instance type to have.
- exclude_
names list(string) - Names of the GPUs to exclude.
- fractional_
gpus string - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - include_
names list(string) - Instance families to include when filtering (excludes all other families).
- manufacturers list(string)
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max_
count number - Max GPU count for the instance type to have.
- min_
count number - Min GPU count for the instance type to have.
- exclude
Names List<String> - Names of the GPUs to exclude.
- fractional
Gpus String - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - include
Names List<String> - Instance families to include when filtering (excludes all other families).
- manufacturers List<String>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max
Count Integer - Max GPU count for the instance type to have.
- min
Count Integer - Min GPU count for the instance type to have.
- exclude
Names string[] - Names of the GPUs to exclude.
- fractional
Gpus string - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - include
Names string[] - Instance families to include when filtering (excludes all other families).
- manufacturers string[]
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max
Count number - Max GPU count for the instance type to have.
- min
Count number - Min GPU count for the instance type to have.
- exclude_
names Sequence[str] - Names of the GPUs to exclude.
- fractional_
gpus str - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - include_
names Sequence[str] - Instance families to include when filtering (excludes all other families).
- manufacturers Sequence[str]
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max_
count int - Max GPU count for the instance type to have.
- min_
count int - Min GPU count for the instance type to have.
- exclude
Names List<String> - Names of the GPUs to exclude.
- fractional
Gpus String - Will include fractional GPU instances when enabled otherwise they will be excluded. Supported values:
enabled,disabledor ``. - include
Names List<String> - Instance families to include when filtering (excludes all other families).
- manufacturers List<String>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max
Count Number - Max GPU count for the instance type to have.
- min
Count Number - Min GPU count for the instance type to have.
NodeTemplateConstraintsInstanceFamilies, NodeTemplateConstraintsInstanceFamiliesArgs
NodeTemplateConstraintsResourceLimits, NodeTemplateConstraintsResourceLimitsArgs
- Cpu
Limit boolEnabled - Controls CPU limit enforcement for the node template.
- Cpu
Limit intMax Cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- Cpu
Limit boolEnabled - Controls CPU limit enforcement for the node template.
- Cpu
Limit intMax Cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu_
limit_ boolenabled - Controls CPU limit enforcement for the node template.
- cpu_
limit_ numbermax_ cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu
Limit BooleanEnabled - Controls CPU limit enforcement for the node template.
- cpu
Limit IntegerMax Cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu
Limit booleanEnabled - Controls CPU limit enforcement for the node template.
- cpu
Limit numberMax Cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu_
limit_ boolenabled - Controls CPU limit enforcement for the node template.
- cpu_
limit_ intmax_ cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu
Limit BooleanEnabled - Controls CPU limit enforcement for the node template.
- cpu
Limit NumberMax Cores - Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
NodeTemplateCustomTaint, NodeTemplateCustomTaintArgs
NodeTemplateGpu, NodeTemplateGpuArgs
- int
- Defines default number of shared clients per GPU.
- Enable
Time boolSharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
-
List<Pulumi.
Cast AI. Config. Inputs. Node Template Gpu Sharing Configuration> - Defines GPU sharing configurations for GPU devices.
- string
- GPU sharing strategy. Supported values:
time-slicing,mps. - User
Managed boolGpu Drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- int
- Defines default number of shared clients per GPU.
- Enable
Time boolSharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
-
[]Node
Template Gpu Sharing Configuration - Defines GPU sharing configurations for GPU devices.
- string
- GPU sharing strategy. Supported values:
time-slicing,mps. - User
Managed boolGpu Drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- number
- Defines default number of shared clients per GPU.
- enable_
time_ boolsharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
- list(object)
- Defines GPU sharing configurations for GPU devices.
- string
- GPU sharing strategy. Supported values:
time-slicing,mps. - user_
managed_ boolgpu_ drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- Integer
- Defines default number of shared clients per GPU.
- enable
Time BooleanSharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
-
List<Node
Template Gpu Sharing Configuration> - Defines GPU sharing configurations for GPU devices.
- String
- GPU sharing strategy. Supported values:
time-slicing,mps. - user
Managed BooleanGpu Drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- number
- Defines default number of shared clients per GPU.
- enable
Time booleanSharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
-
Node
Template Gpu Sharing Configuration[] - Defines GPU sharing configurations for GPU devices.
- string
- GPU sharing strategy. Supported values:
time-slicing,mps. - user
Managed booleanGpu Drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- int
- Defines default number of shared clients per GPU.
- enable_
time_ boolsharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
-
Sequence[Node
Template Gpu Sharing Configuration] - Defines GPU sharing configurations for GPU devices.
- str
- GPU sharing strategy. Supported values:
time-slicing,mps. - user_
managed_ boolgpu_ drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
- Number
- Defines default number of shared clients per GPU.
- enable
Time BooleanSharing - Enable/disable GPU time-sharing. Deprecated: use sharingStrategy = "time-slicing" instead.
- List<Property Map>
- Defines GPU sharing configurations for GPU devices.
- String
- GPU sharing strategy. Supported values:
time-slicing,mps. - user
Managed BooleanGpu Drivers - Enable/disable user-managed GPU drivers (for GKE clusters only).
NodeTemplateGpuSharingConfiguration, NodeTemplateGpuSharingConfigurationArgs
- Gpu
Name string - GPU name.
- int
- Defines number of shared clients for specific GPU device.
- Gpu
Name string - GPU name.
- int
- Defines number of shared clients for specific GPU device.
- gpu_
name string - GPU name.
- number
- Defines number of shared clients for specific GPU device.
- gpu
Name String - GPU name.
- Integer
- Defines number of shared clients for specific GPU device.
- gpu
Name string - GPU name.
- number
- Defines number of shared clients for specific GPU device.
- gpu_
name str - GPU name.
- int
- Defines number of shared clients for specific GPU device.
- gpu
Name String - GPU name.
- Number
- Defines number of shared clients for specific GPU device.
NodeTemplatePriceAdjustmentConfiguration, NodeTemplatePriceAdjustmentConfigurationArgs
- Instance
Type Dictionary<string, string>Adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- Instance
Type map[string]stringAdjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- instance_
type_ map(string)adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- instance
Type Map<String,String>Adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- instance
Type {[key: string]: string}Adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- instance_
type_ Mapping[str, str]adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
- instance
Type Map<String>Adjustments - Map of instance type names to price adjustment multipliers (as strings). Example: {"r7a.xlarge": "1.0", "r7i.xlarge": "1.20"}
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI