1. Packages
  2. CAST AI
  3. API Docs
  4. config
  5. NodeTemplate
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

castai.config.NodeTemplate

Get Started
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 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,
                     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:

    ClmEnabled bool
    Marks whether CLM should be enabled for nodes created from this template.
    ClusterId string
    CAST AI cluster id.
    ConfigurationId string
    CAST AI node configuration id to be used for node template.
    Constraints Pulumi.CastAI.Config.Inputs.NodeTemplateConstraints
    CustomInstancesEnabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    CustomInstancesWithExtendedMemoryEnabled bool
    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.
    CustomLabels Dictionary<string, string>
    Custom labels to be added to nodes created from this template.
    CustomTaints List<Pulumi.CastAI.Config.Inputs.NodeTemplateCustomTaint>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    Gpu Pulumi.CastAI.Config.Inputs.NodeTemplateGpu
    GPU configuration.
    IsDefault bool
    Flag whether the node template is default.
    IsEnabled bool
    Flag whether the node template is enabled and considered for autoscaling.
    Name string
    Name of the node template.
    RebalancingConfigMinNodes int
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    ShouldTaint bool
    Marks whether the templated nodes will have a taint.
    ClmEnabled bool
    Marks whether CLM should be enabled for nodes created from this template.
    ClusterId string
    CAST AI cluster id.
    ConfigurationId string
    CAST AI node configuration id to be used for node template.
    Constraints NodeTemplateConstraintsArgs
    CustomInstancesEnabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    CustomInstancesWithExtendedMemoryEnabled bool
    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.
    CustomLabels map[string]string
    Custom labels to be added to nodes created from this template.
    CustomTaints []NodeTemplateCustomTaintArgs
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    Gpu NodeTemplateGpuArgs
    GPU configuration.
    IsDefault bool
    Flag whether the node template is default.
    IsEnabled bool
    Flag whether the node template is enabled and considered for autoscaling.
    Name string
    Name of the node template.
    RebalancingConfigMinNodes int
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    ShouldTaint bool
    Marks whether the templated nodes will have a taint.
    clmEnabled Boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId String
    CAST AI cluster id.
    configurationId String
    CAST AI node configuration id to be used for node template.
    constraints NodeTemplateConstraints
    customInstancesEnabled Boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled Boolean
    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.
    customLabels Map<String,String>
    Custom labels to be added to nodes created from this template.
    customTaints List<NodeTemplateCustomTaint>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpu
    GPU configuration.
    isDefault Boolean
    Flag whether the node template is default.
    isEnabled Boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name String
    Name of the node template.
    rebalancingConfigMinNodes Integer
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint Boolean
    Marks whether the templated nodes will have a taint.
    clmEnabled boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId string
    CAST AI cluster id.
    configurationId string
    CAST AI node configuration id to be used for node template.
    constraints NodeTemplateConstraints
    customInstancesEnabled boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled boolean
    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.
    customLabels {[key: string]: string}
    Custom labels to be added to nodes created from this template.
    customTaints NodeTemplateCustomTaint[]
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpu
    GPU configuration.
    isDefault boolean
    Flag whether the node template is default.
    isEnabled boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name string
    Name of the node template.
    rebalancingConfigMinNodes number
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint 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 NodeTemplateConstraintsArgs
    custom_instances_enabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    custom_instances_with_extended_memory_enabled bool
    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[NodeTemplateCustomTaintArgs]
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpuArgs
    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_min_nodes int
    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.
    clmEnabled Boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId String
    CAST AI cluster id.
    configurationId String
    CAST AI node configuration id to be used for node template.
    constraints Property Map
    customInstancesEnabled Boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled Boolean
    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.
    customLabels Map<String>
    Custom labels to be added to nodes created from this template.
    customTaints List<Property Map>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu Property Map
    GPU configuration.
    isDefault Boolean
    Flag whether the node template is default.
    isEnabled Boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name String
    Name of the node template.
    rebalancingConfigMinNodes Number
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint 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) -> NodeTemplate
    func 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.
    The following state arguments are supported:
    ClmEnabled bool
    Marks whether CLM should be enabled for nodes created from this template.
    ClusterId string
    CAST AI cluster id.
    ConfigurationId string
    CAST AI node configuration id to be used for node template.
    Constraints Pulumi.CastAI.Config.Inputs.NodeTemplateConstraints
    CustomInstancesEnabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    CustomInstancesWithExtendedMemoryEnabled bool
    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.
    CustomLabels Dictionary<string, string>
    Custom labels to be added to nodes created from this template.
    CustomTaints List<Pulumi.CastAI.Config.Inputs.NodeTemplateCustomTaint>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    Gpu Pulumi.CastAI.Config.Inputs.NodeTemplateGpu
    GPU configuration.
    IsDefault bool
    Flag whether the node template is default.
    IsEnabled bool
    Flag whether the node template is enabled and considered for autoscaling.
    Name string
    Name of the node template.
    RebalancingConfigMinNodes int
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    ShouldTaint bool
    Marks whether the templated nodes will have a taint.
    ClmEnabled bool
    Marks whether CLM should be enabled for nodes created from this template.
    ClusterId string
    CAST AI cluster id.
    ConfigurationId string
    CAST AI node configuration id to be used for node template.
    Constraints NodeTemplateConstraintsArgs
    CustomInstancesEnabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    CustomInstancesWithExtendedMemoryEnabled bool
    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.
    CustomLabels map[string]string
    Custom labels to be added to nodes created from this template.
    CustomTaints []NodeTemplateCustomTaintArgs
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    Gpu NodeTemplateGpuArgs
    GPU configuration.
    IsDefault bool
    Flag whether the node template is default.
    IsEnabled bool
    Flag whether the node template is enabled and considered for autoscaling.
    Name string
    Name of the node template.
    RebalancingConfigMinNodes int
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    ShouldTaint bool
    Marks whether the templated nodes will have a taint.
    clmEnabled Boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId String
    CAST AI cluster id.
    configurationId String
    CAST AI node configuration id to be used for node template.
    constraints NodeTemplateConstraints
    customInstancesEnabled Boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled Boolean
    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.
    customLabels Map<String,String>
    Custom labels to be added to nodes created from this template.
    customTaints List<NodeTemplateCustomTaint>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpu
    GPU configuration.
    isDefault Boolean
    Flag whether the node template is default.
    isEnabled Boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name String
    Name of the node template.
    rebalancingConfigMinNodes Integer
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint Boolean
    Marks whether the templated nodes will have a taint.
    clmEnabled boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId string
    CAST AI cluster id.
    configurationId string
    CAST AI node configuration id to be used for node template.
    constraints NodeTemplateConstraints
    customInstancesEnabled boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled boolean
    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.
    customLabels {[key: string]: string}
    Custom labels to be added to nodes created from this template.
    customTaints NodeTemplateCustomTaint[]
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpu
    GPU configuration.
    isDefault boolean
    Flag whether the node template is default.
    isEnabled boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name string
    Name of the node template.
    rebalancingConfigMinNodes number
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint 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 NodeTemplateConstraintsArgs
    custom_instances_enabled bool
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    custom_instances_with_extended_memory_enabled bool
    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[NodeTemplateCustomTaintArgs]
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu NodeTemplateGpuArgs
    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_min_nodes int
    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.
    clmEnabled Boolean
    Marks whether CLM should be enabled for nodes created from this template.
    clusterId String
    CAST AI cluster id.
    configurationId String
    CAST AI node configuration id to be used for node template.
    constraints Property Map
    customInstancesEnabled Boolean
    Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
    customInstancesWithExtendedMemoryEnabled Boolean
    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.
    customLabels Map<String>
    Custom labels to be added to nodes created from this template.
    customTaints List<Property Map>
    Custom taints to be added to the nodes created from this template. shouldTaint has to be true in order to create/update the node template with custom taints. If shouldTaint is true, but no custom taints are provided, the nodes will be tainted with the default node template taint.
    gpu Property Map
    GPU configuration.
    isDefault Boolean
    Flag whether the node template is default.
    isEnabled Boolean
    Flag whether the node template is enabled and considered for autoscaling.
    name String
    Name of the node template.
    rebalancingConfigMinNodes Number
    Minimum nodes that will be kept when rebalancing nodes using this node template.
    shouldTaint Boolean
    Marks whether the templated nodes will have a taint.

    Supporting Types

    NodeTemplateConstraints, NodeTemplateConstraintsArgs

    ArchitecturePriorities 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.
    BareMetal 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.
    BurstableInstances string
    Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    ComputeOptimized bool
    Compute optimized instance constraint (deprecated).
    ComputeOptimizedState string
    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, disabled or empty string.
    CpuManufacturers List<string>
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    CustomPriorities List<Pulumi.CastAI.Config.Inputs.NodeTemplateConstraintsCustomPriority>
    CustomerSpecific string
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    DedicatedNodeAffinities List<Pulumi.CastAI.Config.Inputs.NodeTemplateConstraintsDedicatedNodeAffinity>
    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).
    EnableSpotDiversity bool
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    FallbackRestoreRateSeconds int
    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.CastAI.Config.Inputs.NodeTemplateConstraintsGpu
    InstanceFamilies Pulumi.CastAI.Config.Inputs.NodeTemplateConstraintsInstanceFamilies
    IsGpuOnly bool
    GPU instance constraint - will only pick nodes with GPU if true
    MaxCpu int
    Max CPU cores per node.
    MaxMemory int
    Max Memory (Mib) per node.
    MinCpu int
    Min CPU cores per node.
    MinMemory int
    Min Memory (Mib) per node.
    OnDemand 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.
    ResourceLimits Pulumi.CastAI.Config.Inputs.NodeTemplateConstraintsResourceLimits
    Spot bool
    Should include spot instances in the considered pool.
    SpotDiversityPriceIncreaseLimitPercent int
    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.
    SpotInterruptionPredictionsEnabled bool
    Enable/disable spot interruption predictions.
    SpotInterruptionPredictionsType string
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    SpotReliabilityEnabled bool
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    SpotReliabilityPriceIncreaseLimitPercent int
    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.
    StorageOptimized bool
    Storage optimized instance constraint (deprecated).
    StorageOptimizedState string
    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, disabled or empty string.
    UseSpotFallbacks bool
    Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
    ArchitecturePriorities []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.
    BareMetal 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.
    BurstableInstances string
    Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    ComputeOptimized bool
    Compute optimized instance constraint (deprecated).
    ComputeOptimizedState string
    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, disabled or empty string.
    CpuManufacturers []string
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    CustomPriorities []NodeTemplateConstraintsCustomPriority
    CustomerSpecific string
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    DedicatedNodeAffinities []NodeTemplateConstraintsDedicatedNodeAffinity
    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).
    EnableSpotDiversity bool
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    FallbackRestoreRateSeconds int
    Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
    Gpu NodeTemplateConstraintsGpu
    InstanceFamilies NodeTemplateConstraintsInstanceFamilies
    IsGpuOnly bool
    GPU instance constraint - will only pick nodes with GPU if true
    MaxCpu int
    Max CPU cores per node.
    MaxMemory int
    Max Memory (Mib) per node.
    MinCpu int
    Min CPU cores per node.
    MinMemory int
    Min Memory (Mib) per node.
    OnDemand 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.
    ResourceLimits NodeTemplateConstraintsResourceLimits
    Spot bool
    Should include spot instances in the considered pool.
    SpotDiversityPriceIncreaseLimitPercent int
    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.
    SpotInterruptionPredictionsEnabled bool
    Enable/disable spot interruption predictions.
    SpotInterruptionPredictionsType string
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    SpotReliabilityEnabled bool
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    SpotReliabilityPriceIncreaseLimitPercent int
    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.
    StorageOptimized bool
    Storage optimized instance constraint (deprecated).
    StorageOptimizedState string
    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, disabled or empty string.
    UseSpotFallbacks bool
    Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
    architecturePriorities 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.
    bareMetal 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.
    burstableInstances String
    Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    computeOptimized Boolean
    Compute optimized instance constraint (deprecated).
    computeOptimizedState String
    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, disabled or empty string.
    cpuManufacturers List<String>
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    customPriorities List<NodeTemplateConstraintsCustomPriority>
    customerSpecific String
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    dedicatedNodeAffinities List<NodeTemplateConstraintsDedicatedNodeAffinity>
    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).
    enableSpotDiversity Boolean
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    fallbackRestoreRateSeconds Integer
    Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
    gpu NodeTemplateConstraintsGpu
    instanceFamilies NodeTemplateConstraintsInstanceFamilies
    isGpuOnly Boolean
    GPU instance constraint - will only pick nodes with GPU if true
    maxCpu Integer
    Max CPU cores per node.
    maxMemory Integer
    Max Memory (Mib) per node.
    minCpu Integer
    Min CPU cores per node.
    minMemory Integer
    Min Memory (Mib) per node.
    onDemand 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.
    resourceLimits NodeTemplateConstraintsResourceLimits
    spot Boolean
    Should include spot instances in the considered pool.
    spotDiversityPriceIncreaseLimitPercent Integer
    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.
    spotInterruptionPredictionsEnabled Boolean
    Enable/disable spot interruption predictions.
    spotInterruptionPredictionsType String
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    spotReliabilityEnabled Boolean
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    spotReliabilityPriceIncreaseLimitPercent Integer
    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.
    storageOptimized Boolean
    Storage optimized instance constraint (deprecated).
    storageOptimizedState String
    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, disabled or empty string.
    useSpotFallbacks Boolean
    Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
    architecturePriorities 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.
    bareMetal 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.
    burstableInstances string
    Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    computeOptimized boolean
    Compute optimized instance constraint (deprecated).
    computeOptimizedState string
    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, disabled or empty string.
    cpuManufacturers string[]
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    customPriorities NodeTemplateConstraintsCustomPriority[]
    customerSpecific string
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    dedicatedNodeAffinities NodeTemplateConstraintsDedicatedNodeAffinity[]
    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).
    enableSpotDiversity boolean
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    fallbackRestoreRateSeconds number
    Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
    gpu NodeTemplateConstraintsGpu
    instanceFamilies NodeTemplateConstraintsInstanceFamilies
    isGpuOnly boolean
    GPU instance constraint - will only pick nodes with GPU if true
    maxCpu number
    Max CPU cores per node.
    maxMemory number
    Max Memory (Mib) per node.
    minCpu number
    Min CPU cores per node.
    minMemory number
    Min Memory (Mib) per node.
    onDemand 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.
    resourceLimits NodeTemplateConstraintsResourceLimits
    spot boolean
    Should include spot instances in the considered pool.
    spotDiversityPriceIncreaseLimitPercent number
    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.
    spotInterruptionPredictionsEnabled boolean
    Enable/disable spot interruption predictions.
    spotInterruptionPredictionsType string
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    spotReliabilityEnabled boolean
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    spotReliabilityPriceIncreaseLimitPercent number
    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.
    storageOptimized boolean
    Storage optimized instance constraint (deprecated).
    storageOptimizedState string
    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, disabled or empty string.
    useSpotFallbacks boolean
    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, disabled or ``.
    compute_optimized bool
    Compute optimized instance constraint (deprecated).
    compute_optimized_state str
    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, disabled or empty string.
    cpu_manufacturers Sequence[str]
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    custom_priorities Sequence[NodeTemplateConstraintsCustomPriority]
    customer_specific str
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    dedicated_node_affinities Sequence[NodeTemplateConstraintsDedicatedNodeAffinity]
    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_diversity bool
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    fallback_restore_rate_seconds int
    Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
    gpu NodeTemplateConstraintsGpu
    instance_families NodeTemplateConstraintsInstanceFamilies
    is_gpu_only bool
    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 NodeTemplateConstraintsResourceLimits
    spot bool
    Should include spot instances in the considered pool.
    spot_diversity_price_increase_limit_percent int
    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_predictions_enabled bool
    Enable/disable spot interruption predictions.
    spot_interruption_predictions_type str
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    spot_reliability_enabled bool
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    spot_reliability_price_increase_limit_percent int
    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_state str
    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, disabled or empty string.
    use_spot_fallbacks bool
    Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
    architecturePriorities 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.
    bareMetal 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.
    burstableInstances String
    Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    computeOptimized Boolean
    Compute optimized instance constraint (deprecated).
    computeOptimizedState String
    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, disabled or empty string.
    cpuManufacturers List<String>
    List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
    customPriorities List<Property Map>
    customerSpecific String
    Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled, disabled or ``.
    dedicatedNodeAffinities List<Property Map>
    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).
    enableSpotDiversity Boolean
    Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
    fallbackRestoreRateSeconds Number
    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
    instanceFamilies Property Map
    isGpuOnly Boolean
    GPU instance constraint - will only pick nodes with GPU if true
    maxCpu Number
    Max CPU cores per node.
    maxMemory Number
    Max Memory (Mib) per node.
    minCpu Number
    Min CPU cores per node.
    minMemory Number
    Min Memory (Mib) per node.
    onDemand 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.
    resourceLimits Property Map
    spot Boolean
    Should include spot instances in the considered pool.
    spotDiversityPriceIncreaseLimitPercent Number
    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.
    spotInterruptionPredictionsEnabled Boolean
    Enable/disable spot interruption predictions.
    spotInterruptionPredictionsType String
    Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
    spotReliabilityEnabled Boolean
    Enable/disable spot reliability. When enabled, autoscaler will create instances with highest reliability score within price increase threshold.
    spotReliabilityPriceIncreaseLimitPercent Number
    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.
    storageOptimized Boolean
    Storage optimized instance constraint (deprecated).
    storageOptimizedState String
    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, disabled or empty string.
    useSpotFallbacks Boolean
    Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.

    NodeTemplateConstraintsCustomPriority, NodeTemplateConstraintsCustomPriorityArgs

    InstanceFamilies List<string>
    Instance families to prioritize in this tier.
    OnDemand bool
    If true, this tier will apply to on-demand instances.
    Spot bool
    If true, this tier will apply to spot instances.
    InstanceFamilies []string
    Instance families to prioritize in this tier.
    OnDemand bool
    If true, this tier will apply to on-demand instances.
    Spot bool
    If true, this tier will apply to spot instances.
    instanceFamilies List<String>
    Instance families to prioritize in this tier.
    onDemand Boolean
    If true, this tier will apply to on-demand instances.
    spot Boolean
    If true, this tier will apply to spot instances.
    instanceFamilies string[]
    Instance families to prioritize in this tier.
    onDemand 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.
    instanceFamilies List<String>
    Instance families to prioritize in this tier.
    onDemand Boolean
    If true, this tier will apply to on-demand instances.
    spot Boolean
    If true, this tier will apply to spot instances.

    NodeTemplateConstraintsDedicatedNodeAffinity, NodeTemplateConstraintsDedicatedNodeAffinityArgs

    AzName string
    Availability zone name.
    InstanceTypes List<string>
    Instance/node types in this node group.
    Name string
    Name of node group.
    Affinities List<Pulumi.CastAI.Config.Inputs.NodeTemplateConstraintsDedicatedNodeAffinityAffinity>
    AzName string
    Availability zone name.
    InstanceTypes []string
    Instance/node types in this node group.
    Name string
    Name of node group.
    Affinities []NodeTemplateConstraintsDedicatedNodeAffinityAffinity
    azName String
    Availability zone name.
    instanceTypes List<String>
    Instance/node types in this node group.
    name String
    Name of node group.
    affinities List<NodeTemplateConstraintsDedicatedNodeAffinityAffinity>
    azName string
    Availability zone name.
    instanceTypes string[]
    Instance/node types in this node group.
    name string
    Name of node group.
    affinities NodeTemplateConstraintsDedicatedNodeAffinityAffinity[]
    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[NodeTemplateConstraintsDedicatedNodeAffinityAffinity]
    azName String
    Availability zone name.
    instanceTypes List<String>
    Instance/node types in this node group.
    name String
    Name of node group.
    affinities List<Property Map>

    NodeTemplateConstraintsDedicatedNodeAffinityAffinity, NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs

    Key string
    Key of the node affinity selector.
    Operator string
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    Values List<string>
    Values of the node affinity selector.
    Key string
    Key of the node affinity selector.
    Operator string
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    Values []string
    Values of the node affinity selector.
    key String
    Key of the node affinity selector.
    operator String
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    values List<String>
    Values of the node affinity selector.
    key string
    Key of the node affinity selector.
    operator string
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    values string[]
    Values of the node affinity selector.
    key str
    Key of the node affinity selector.
    operator str
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    values Sequence[str]
    Values of the node affinity selector.
    key String
    Key of the node affinity selector.
    operator String
    Operator of the node affinity selector. Allowed values: In, NotIn, Exists, DoesNotExist, Gt, Lt.
    values List<String>
    Values of the node affinity selector.

    NodeTemplateConstraintsGpu, NodeTemplateConstraintsGpuArgs

    ExcludeNames List<string>
    Names of the GPUs to exclude.
    IncludeNames List<string>
    Instance families to include when filtering (excludes all other families).
    Manufacturers List<string>
    Manufacturers of the gpus to select - NVIDIA, AMD.
    MaxCount int
    Max GPU count for the instance type to have.
    MinCount int
    Min GPU count for the instance type to have.
    ExcludeNames []string
    Names of the GPUs to exclude.
    IncludeNames []string
    Instance families to include when filtering (excludes all other families).
    Manufacturers []string
    Manufacturers of the gpus to select - NVIDIA, AMD.
    MaxCount int
    Max GPU count for the instance type to have.
    MinCount int
    Min GPU count for the instance type to have.
    excludeNames List<String>
    Names of the GPUs to exclude.
    includeNames List<String>
    Instance families to include when filtering (excludes all other families).
    manufacturers List<String>
    Manufacturers of the gpus to select - NVIDIA, AMD.
    maxCount Integer
    Max GPU count for the instance type to have.
    minCount Integer
    Min GPU count for the instance type to have.
    excludeNames string[]
    Names of the GPUs to exclude.
    includeNames string[]
    Instance families to include when filtering (excludes all other families).
    manufacturers string[]
    Manufacturers of the gpus to select - NVIDIA, AMD.
    maxCount number
    Max GPU count for the instance type to have.
    minCount 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.
    excludeNames List<String>
    Names of the GPUs to exclude.
    includeNames List<String>
    Instance families to include when filtering (excludes all other families).
    manufacturers List<String>
    Manufacturers of the gpus to select - NVIDIA, AMD.
    maxCount Number
    Max GPU count for the instance type to have.
    minCount Number
    Min GPU count for the instance type to have.

    NodeTemplateConstraintsInstanceFamilies, NodeTemplateConstraintsInstanceFamiliesArgs

    Excludes List<string>
    Instance families to exclude when filtering (includes all other families).
    Includes List<string>
    Instance families to include when filtering (excludes all other families).
    Excludes []string
    Instance families to exclude when filtering (includes all other families).
    Includes []string
    Instance families to include when filtering (excludes all other families).
    excludes List<String>
    Instance families to exclude when filtering (includes all other families).
    includes List<String>
    Instance families to include when filtering (excludes all other families).
    excludes string[]
    Instance families to exclude when filtering (includes all other families).
    includes string[]
    Instance families to include when filtering (excludes all other families).
    excludes Sequence[str]
    Instance families to exclude when filtering (includes all other families).
    includes Sequence[str]
    Instance families to include when filtering (excludes all other families).
    excludes List<String>
    Instance families to exclude when filtering (includes all other families).
    includes List<String>
    Instance families to include when filtering (excludes all other families).

    NodeTemplateConstraintsResourceLimits, NodeTemplateConstraintsResourceLimitsArgs

    CpuLimitEnabled bool
    Controls CPU limit enforcement for the node template.
    CpuLimitMaxCores int
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
    CpuLimitEnabled bool
    Controls CPU limit enforcement for the node template.
    CpuLimitMaxCores int
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
    cpuLimitEnabled Boolean
    Controls CPU limit enforcement for the node template.
    cpuLimitMaxCores Integer
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
    cpuLimitEnabled boolean
    Controls CPU limit enforcement for the node template.
    cpuLimitMaxCores number
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
    cpu_limit_enabled bool
    Controls CPU limit enforcement for the node template.
    cpu_limit_max_cores int
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
    cpuLimitEnabled Boolean
    Controls CPU limit enforcement for the node template.
    cpuLimitMaxCores Number
    Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.

    NodeTemplateCustomTaint, NodeTemplateCustomTaintArgs

    Key string
    Key of a taint to be added to nodes created from this template.
    Effect string
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    Value string
    Value of a taint to be added to nodes created from this template.
    Key string
    Key of a taint to be added to nodes created from this template.
    Effect string
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    Value string
    Value of a taint to be added to nodes created from this template.
    key String
    Key of a taint to be added to nodes created from this template.
    effect String
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    value String
    Value of a taint to be added to nodes created from this template.
    key string
    Key of a taint to be added to nodes created from this template.
    effect string
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    value string
    Value of a taint to be added to nodes created from this template.
    key str
    Key of a taint to be added to nodes created from this template.
    effect str
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    value str
    Value of a taint to be added to nodes created from this template.
    key String
    Key of a taint to be added to nodes created from this template.
    effect String
    Effect of a taint to be added to nodes created from this template, the default is NoSchedule. Allowed values: NoSchedule, NoExecute.
    value String
    Value of a taint to be added to nodes created from this template.

    NodeTemplateGpu, NodeTemplateGpuArgs

    DefaultSharedClientsPerGpu int
    Defines default number of shared clients per GPU.
    EnableTimeSharing bool
    Enable/disable GPU time-sharing.
    SharingConfigurations List<Pulumi.CastAI.Config.Inputs.NodeTemplateGpuSharingConfiguration>
    Defines GPU sharing configurations for GPU devices.
    DefaultSharedClientsPerGpu int
    Defines default number of shared clients per GPU.
    EnableTimeSharing bool
    Enable/disable GPU time-sharing.
    SharingConfigurations []NodeTemplateGpuSharingConfiguration
    Defines GPU sharing configurations for GPU devices.
    defaultSharedClientsPerGpu Integer
    Defines default number of shared clients per GPU.
    enableTimeSharing Boolean
    Enable/disable GPU time-sharing.
    sharingConfigurations List<NodeTemplateGpuSharingConfiguration>
    Defines GPU sharing configurations for GPU devices.
    defaultSharedClientsPerGpu number
    Defines default number of shared clients per GPU.
    enableTimeSharing boolean
    Enable/disable GPU time-sharing.
    sharingConfigurations NodeTemplateGpuSharingConfiguration[]
    Defines GPU sharing configurations for GPU devices.
    default_shared_clients_per_gpu int
    Defines default number of shared clients per GPU.
    enable_time_sharing bool
    Enable/disable GPU time-sharing.
    sharing_configurations Sequence[NodeTemplateGpuSharingConfiguration]
    Defines GPU sharing configurations for GPU devices.
    defaultSharedClientsPerGpu Number
    Defines default number of shared clients per GPU.
    enableTimeSharing Boolean
    Enable/disable GPU time-sharing.
    sharingConfigurations List<Property Map>
    Defines GPU sharing configurations for GPU devices.

    NodeTemplateGpuSharingConfiguration, NodeTemplateGpuSharingConfigurationArgs

    GpuName string
    GPU name.
    SharedClientsPerGpu int
    Defines number of shared clients for specific GPU device.
    GpuName string
    GPU name.
    SharedClientsPerGpu int
    Defines number of shared clients for specific GPU device.
    gpuName String
    GPU name.
    sharedClientsPerGpu Integer
    Defines number of shared clients for specific GPU device.
    gpuName string
    GPU name.
    sharedClientsPerGpu number
    Defines number of shared clients for specific GPU device.
    gpu_name str
    GPU name.
    shared_clients_per_gpu int
    Defines number of shared clients for specific GPU device.
    gpuName String
    GPU name.
    sharedClientsPerGpu 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 castai Terraform Provider.
    castai logo
    CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
      Meet Neo: Your AI Platform Teammate