CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.config.NodeTemplate
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,
gpu: Optional[NodeTemplateGpuArgs] = None,
is_default: Optional[bool] = None,
is_enabled: Optional[bool] = None,
name: Optional[str] = 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.
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 CLM should be enabled for nodes created from this template.
- 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. - Gpu
Pulumi.
Cast AI. Config. Inputs. Node Template Gpu - GPU configuration.
- Is
Default bool - Flag whether the node template is default.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - Gpu
Node
Template Gpu Args - GPU configuration.
- Is
Default bool - Flag whether the node template is default.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu - GPU configuration.
- is
Default Boolean - Flag whether the node template is default.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu - GPU configuration.
- is
Default boolean - Flag whether the node template is default.
- is
Enabled boolean - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu Args - GPU configuration.
- is_
default bool - Flag whether the node template is default.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu Property Map
- GPU configuration.
- is
Default Boolean - Flag whether the node template is default.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- 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 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,
gpu: Optional[NodeTemplateGpuArgs] = None,
is_default: Optional[bool] = None,
is_enabled: Optional[bool] = None,
name: Optional[str] = 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}- 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 CLM should be enabled for nodes created from this template.
- 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. - Gpu
Pulumi.
Cast AI. Config. Inputs. Node Template Gpu - GPU configuration.
- Is
Default bool - Flag whether the node template is default.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - Gpu
Node
Template Gpu Args - GPU configuration.
- Is
Default bool - Flag whether the node template is default.
- Is
Enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu - GPU configuration.
- is
Default Boolean - Flag whether the node template is default.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu - GPU configuration.
- is
Default boolean - Flag whether the node template is default.
- is
Enabled boolean - Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu
Node
Template Gpu Args - GPU configuration.
- is_
default bool - Flag whether the node template is default.
- is_
enabled bool - Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- 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 CLM should be enabled for nodes created from this template.
- 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. - gpu Property Map
- GPU configuration.
- is
Default Boolean - Flag whether the node template is default.
- is
Enabled Boolean - Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
- 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.
- 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.
- 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. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- 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.
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 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>
- 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
- 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>
- 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[]
- 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]
- 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>
NodeTemplateConstraintsDedicatedNodeAffinityAffinity, NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs
NodeTemplateConstraintsGpu, NodeTemplateConstraintsGpuArgs
- Exclude
Names List<string> - Names of the GPUs to exclude.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
-
List<Pulumi.
Cast AI. Config. Inputs. Node Template Gpu Sharing Configuration> - Defines GPU sharing configurations for GPU devices.
- int
- Defines default number of shared clients per GPU.
- Enable
Time boolSharing - Enable/disable GPU time-sharing.
-
[]Node
Template Gpu Sharing Configuration - Defines GPU sharing configurations for GPU devices.
- Integer
- Defines default number of shared clients per GPU.
- enable
Time BooleanSharing - Enable/disable GPU time-sharing.
-
List<Node
Template Gpu Sharing Configuration> - Defines GPU sharing configurations for GPU devices.
- number
- Defines default number of shared clients per GPU.
- enable
Time booleanSharing - Enable/disable GPU time-sharing.
-
Node
Template Gpu Sharing Configuration[] - Defines GPU sharing configurations for GPU devices.
- int
- Defines default number of shared clients per GPU.
- enable_
time_ boolsharing - Enable/disable GPU time-sharing.
-
Sequence[Node
Template Gpu Sharing Configuration] - Defines GPU sharing configurations for GPU devices.
- Number
- Defines default number of shared clients per GPU.
- enable
Time BooleanSharing - Enable/disable GPU time-sharing.
- List<Property Map>
- Defines GPU sharing configurations for GPU devices.
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.
- 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.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
