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

castai.Autoscaler

Start a Neo task
Explain and create a castai.Autoscaler resource
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    Create Autoscaler Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Autoscaler(name: string, args?: AutoscalerArgs, opts?: CustomResourceOptions);
    @overload
    def Autoscaler(resource_name: str,
                   args: Optional[AutoscalerArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Autoscaler(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   autoscaler_policies_json: Optional[str] = None,
                   autoscaler_settings: Optional[_autoscaling.AutoscalerAutoscalerSettingsArgs] = None,
                   cluster_id: Optional[str] = None)
    func NewAutoscaler(ctx *Context, name string, args *AutoscalerArgs, opts ...ResourceOption) (*Autoscaler, error)
    public Autoscaler(string name, AutoscalerArgs? args = null, CustomResourceOptions? opts = null)
    public Autoscaler(String name, AutoscalerArgs args)
    public Autoscaler(String name, AutoscalerArgs args, CustomResourceOptions options)
    
    type: castai:autoscaling:Autoscaler
    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 AutoscalerArgs
    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 AutoscalerArgs
    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 AutoscalerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoscalerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoscalerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Autoscaler 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 Autoscaler resource accepts the following input properties:

    AutoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    AutoscalerSettings Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    ClusterId string
    CAST AI cluster id
    AutoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    AutoscalerSettings AutoscalerAutoscalerSettingsArgs
    autoscaler policy definitions to override current autoscaler settings
    ClusterId string
    CAST AI cluster id
    autoscalerPoliciesJson String
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings AutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    clusterId String
    CAST AI cluster id
    autoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings autoscalingAutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    clusterId string
    CAST AI cluster id
    autoscaler_policies_json str
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscaler_settings autoscaling.AutoscalerAutoscalerSettingsArgs
    autoscaler policy definitions to override current autoscaler settings
    cluster_id str
    CAST AI cluster id
    autoscalerPoliciesJson String
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings Property Map
    autoscaler policy definitions to override current autoscaler settings
    clusterId String
    CAST AI cluster id

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Autoscaler resource produces the following output properties:

    AutoscalerPolicies string
    computed value to store full policies configuration
    Id string
    The provider-assigned unique ID for this managed resource.
    AutoscalerPolicies string
    computed value to store full policies configuration
    Id string
    The provider-assigned unique ID for this managed resource.
    autoscalerPolicies String
    computed value to store full policies configuration
    id String
    The provider-assigned unique ID for this managed resource.
    autoscalerPolicies string
    computed value to store full policies configuration
    id string
    The provider-assigned unique ID for this managed resource.
    autoscaler_policies str
    computed value to store full policies configuration
    id str
    The provider-assigned unique ID for this managed resource.
    autoscalerPolicies String
    computed value to store full policies configuration
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Autoscaler Resource

    Get an existing Autoscaler 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?: AutoscalerState, opts?: CustomResourceOptions): Autoscaler
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            autoscaler_policies: Optional[str] = None,
            autoscaler_policies_json: Optional[str] = None,
            autoscaler_settings: Optional[_autoscaling.AutoscalerAutoscalerSettingsArgs] = None,
            cluster_id: Optional[str] = None) -> Autoscaler
    func GetAutoscaler(ctx *Context, name string, id IDInput, state *AutoscalerState, opts ...ResourceOption) (*Autoscaler, error)
    public static Autoscaler Get(string name, Input<string> id, AutoscalerState? state, CustomResourceOptions? opts = null)
    public static Autoscaler get(String name, Output<String> id, AutoscalerState state, CustomResourceOptions options)
    resources:  _:    type: castai:autoscaling:Autoscaler    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:
    AutoscalerPolicies string
    computed value to store full policies configuration
    AutoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    AutoscalerSettings Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    ClusterId string
    CAST AI cluster id
    AutoscalerPolicies string
    computed value to store full policies configuration
    AutoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    AutoscalerSettings AutoscalerAutoscalerSettingsArgs
    autoscaler policy definitions to override current autoscaler settings
    ClusterId string
    CAST AI cluster id
    autoscalerPolicies String
    computed value to store full policies configuration
    autoscalerPoliciesJson String
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings AutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    clusterId String
    CAST AI cluster id
    autoscalerPolicies string
    computed value to store full policies configuration
    autoscalerPoliciesJson string
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings autoscalingAutoscalerAutoscalerSettings
    autoscaler policy definitions to override current autoscaler settings
    clusterId string
    CAST AI cluster id
    autoscaler_policies str
    computed value to store full policies configuration
    autoscaler_policies_json str
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscaler_settings autoscaling.AutoscalerAutoscalerSettingsArgs
    autoscaler policy definitions to override current autoscaler settings
    cluster_id str
    CAST AI cluster id
    autoscalerPolicies String
    computed value to store full policies configuration
    autoscalerPoliciesJson String
    autoscaler policies JSON string to override current autoscaler settings

    Deprecated: use autoscaler_settings instead. See README for example: https://github.com/castai/terraform-provider-castai?tab=readme-ov-file#migrating-from-6xx-to-7xx

    autoscalerSettings Property Map
    autoscaler policy definitions to override current autoscaler settings
    clusterId String
    CAST AI cluster id

    Supporting Types

    AutoscalerAutoscalerSettings, AutoscalerAutoscalerSettingsArgs

    ClusterLimits Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsClusterLimits
    defines minimum and maximum amount of CPU the cluster can have.
    Enabled bool
    enable/disable autoscaler policies
    IsScopedMode bool
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    NodeDownscaler Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsNodeDownscaler
    node downscaler defines policies for removing nodes based on the configured conditions.
    NodeTemplatesPartialMatchingEnabled bool
    marks whether partial matching should be used when deciding which custom node template to select.
    SpotInstances Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsSpotInstances
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    UnschedulablePods Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsUnschedulablePods
    policy defining autoscaler's behavior when unschedulable pods were detected.
    ClusterLimits AutoscalerAutoscalerSettingsClusterLimits
    defines minimum and maximum amount of CPU the cluster can have.
    Enabled bool
    enable/disable autoscaler policies
    IsScopedMode bool
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    NodeDownscaler AutoscalerAutoscalerSettingsNodeDownscaler
    node downscaler defines policies for removing nodes based on the configured conditions.
    NodeTemplatesPartialMatchingEnabled bool
    marks whether partial matching should be used when deciding which custom node template to select.
    SpotInstances AutoscalerAutoscalerSettingsSpotInstances
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    UnschedulablePods AutoscalerAutoscalerSettingsUnschedulablePods
    policy defining autoscaler's behavior when unschedulable pods were detected.
    clusterLimits AutoscalerAutoscalerSettingsClusterLimits
    defines minimum and maximum amount of CPU the cluster can have.
    enabled Boolean
    enable/disable autoscaler policies
    isScopedMode Boolean
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    nodeDownscaler AutoscalerAutoscalerSettingsNodeDownscaler
    node downscaler defines policies for removing nodes based on the configured conditions.
    nodeTemplatesPartialMatchingEnabled Boolean
    marks whether partial matching should be used when deciding which custom node template to select.
    spotInstances AutoscalerAutoscalerSettingsSpotInstances
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    unschedulablePods AutoscalerAutoscalerSettingsUnschedulablePods
    policy defining autoscaler's behavior when unschedulable pods were detected.
    clusterLimits autoscalingAutoscalerAutoscalerSettingsClusterLimits
    defines minimum and maximum amount of CPU the cluster can have.
    enabled boolean
    enable/disable autoscaler policies
    isScopedMode boolean
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    nodeDownscaler autoscalingAutoscalerAutoscalerSettingsNodeDownscaler
    node downscaler defines policies for removing nodes based on the configured conditions.
    nodeTemplatesPartialMatchingEnabled boolean
    marks whether partial matching should be used when deciding which custom node template to select.
    spotInstances autoscalingAutoscalerAutoscalerSettingsSpotInstances
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    unschedulablePods autoscalingAutoscalerAutoscalerSettingsUnschedulablePods
    policy defining autoscaler's behavior when unschedulable pods were detected.
    cluster_limits autoscaling.AutoscalerAutoscalerSettingsClusterLimits
    defines minimum and maximum amount of CPU the cluster can have.
    enabled bool
    enable/disable autoscaler policies
    is_scoped_mode bool
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    node_downscaler autoscaling.AutoscalerAutoscalerSettingsNodeDownscaler
    node downscaler defines policies for removing nodes based on the configured conditions.
    node_templates_partial_matching_enabled bool
    marks whether partial matching should be used when deciding which custom node template to select.
    spot_instances autoscaling.AutoscalerAutoscalerSettingsSpotInstances
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    unschedulable_pods autoscaling.AutoscalerAutoscalerSettingsUnschedulablePods
    policy defining autoscaler's behavior when unschedulable pods were detected.
    clusterLimits Property Map
    defines minimum and maximum amount of CPU the cluster can have.
    enabled Boolean
    enable/disable autoscaler policies
    isScopedMode Boolean
    run autoscaler in scoped mode. Only marked pods and nodes will be considered.
    nodeDownscaler Property Map
    node downscaler defines policies for removing nodes based on the configured conditions.
    nodeTemplatesPartialMatchingEnabled Boolean
    marks whether partial matching should be used when deciding which custom node template to select.
    spotInstances Property Map
    policy defining whether autoscaler can use spot instances for provisioning additional workloads.

    Deprecated: spot_instances is deprecated. Configure spot instance settings using the constraints field in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    unschedulablePods Property Map
    policy defining autoscaler's behavior when unschedulable pods were detected.

    AutoscalerAutoscalerSettingsClusterLimits, AutoscalerAutoscalerSettingsClusterLimitsArgs

    Cpu Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsClusterLimitsCpu
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    Enabled bool
    enable/disable cluster size limits policy.
    Cpu AutoscalerAutoscalerSettingsClusterLimitsCpu
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    Enabled bool
    enable/disable cluster size limits policy.
    cpu AutoscalerAutoscalerSettingsClusterLimitsCpu
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    enabled Boolean
    enable/disable cluster size limits policy.
    cpu autoscalingAutoscalerAutoscalerSettingsClusterLimitsCpu
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    enabled boolean
    enable/disable cluster size limits policy.
    cpu autoscaling.AutoscalerAutoscalerSettingsClusterLimitsCpu
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    enabled bool
    enable/disable cluster size limits policy.
    cpu Property Map
    defines the minimum and maximum amount of CPUs for cluster's worker nodes.
    enabled Boolean
    enable/disable cluster size limits policy.

    AutoscalerAutoscalerSettingsClusterLimitsCpu, AutoscalerAutoscalerSettingsClusterLimitsCpuArgs

    MaxCores int
    defines the maximum allowed amount of vCPUs in the whole cluster.
    MinCores int
    defines the minimum allowed amount of CPUs in the whole cluster.
    MaxCores int
    defines the maximum allowed amount of vCPUs in the whole cluster.
    MinCores int
    defines the minimum allowed amount of CPUs in the whole cluster.
    maxCores Integer
    defines the maximum allowed amount of vCPUs in the whole cluster.
    minCores Integer
    defines the minimum allowed amount of CPUs in the whole cluster.
    maxCores number
    defines the maximum allowed amount of vCPUs in the whole cluster.
    minCores number
    defines the minimum allowed amount of CPUs in the whole cluster.
    max_cores int
    defines the maximum allowed amount of vCPUs in the whole cluster.
    min_cores int
    defines the minimum allowed amount of CPUs in the whole cluster.
    maxCores Number
    defines the maximum allowed amount of vCPUs in the whole cluster.
    minCores Number
    defines the minimum allowed amount of CPUs in the whole cluster.

    AutoscalerAutoscalerSettingsNodeDownscaler, AutoscalerAutoscalerSettingsNodeDownscalerArgs

    EmptyNodes Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    Enabled bool
    enable/disable node downscaler policy.
    Evictor Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsNodeDownscalerEvictor
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.
    EmptyNodes AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    Enabled bool
    enable/disable node downscaler policy.
    Evictor AutoscalerAutoscalerSettingsNodeDownscalerEvictor
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.
    emptyNodes AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    enabled Boolean
    enable/disable node downscaler policy.
    evictor AutoscalerAutoscalerSettingsNodeDownscalerEvictor
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.
    emptyNodes autoscalingAutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    enabled boolean
    enable/disable node downscaler policy.
    evictor autoscalingAutoscalerAutoscalerSettingsNodeDownscalerEvictor
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.
    empty_nodes autoscaling.AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    enabled bool
    enable/disable node downscaler policy.
    evictor autoscaling.AutoscalerAutoscalerSettingsNodeDownscalerEvictor
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.
    emptyNodes Property Map
    defines whether Node Downscaler should opt in for removing empty worker nodes when possible.
    enabled Boolean
    enable/disable node downscaler policy.
    evictor Property Map
    defines the CAST AI Evictor component settings. Evictor watches the pods running in your cluster and looks for ways to compact them into fewer nodes, making nodes empty, which will be removed by the empty worker nodes policy.

    AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodes, AutoscalerAutoscalerSettingsNodeDownscalerEmptyNodesArgs

    DelaySeconds int
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    Enabled bool
    enable/disable the empty worker nodes policy.
    DelaySeconds int
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    Enabled bool
    enable/disable the empty worker nodes policy.
    delaySeconds Integer
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    enabled Boolean
    enable/disable the empty worker nodes policy.
    delaySeconds number
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    enabled boolean
    enable/disable the empty worker nodes policy.
    delay_seconds int
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    enabled bool
    enable/disable the empty worker nodes policy.
    delaySeconds Number
    period (in seconds) to wait before removing the node. Might be useful to control the aggressiveness of the downscaler.
    enabled Boolean
    enable/disable the empty worker nodes policy.

    AutoscalerAutoscalerSettingsNodeDownscalerEvictor, AutoscalerAutoscalerSettingsNodeDownscalerEvictorArgs

    AggressiveMode bool
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    CycleInterval string
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    DryRun bool
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    Enabled bool
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    IgnorePodDisruptionBudgets bool
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    NodeGracePeriodMinutes int
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    PodEvictionFailureBackOffInterval string
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    ScopedMode bool
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.
    AggressiveMode bool
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    CycleInterval string
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    DryRun bool
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    Enabled bool
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    IgnorePodDisruptionBudgets bool
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    NodeGracePeriodMinutes int
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    PodEvictionFailureBackOffInterval string
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    ScopedMode bool
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.
    aggressiveMode Boolean
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    cycleInterval String
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    dryRun Boolean
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    enabled Boolean
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    ignorePodDisruptionBudgets Boolean
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    nodeGracePeriodMinutes Integer
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    podEvictionFailureBackOffInterval String
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    scopedMode Boolean
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.
    aggressiveMode boolean
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    cycleInterval string
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    dryRun boolean
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    enabled boolean
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    ignorePodDisruptionBudgets boolean
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    nodeGracePeriodMinutes number
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    podEvictionFailureBackOffInterval string
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    scopedMode boolean
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.
    aggressive_mode bool
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    cycle_interval str
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    dry_run bool
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    enabled bool
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    ignore_pod_disruption_budgets bool
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    node_grace_period_minutes int
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    pod_eviction_failure_back_off_interval str
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    scoped_mode bool
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.
    aggressiveMode Boolean
    enable/disable aggressive mode. By default, Evictor does not target nodes that are running unreplicated pods. This mode will make the Evictor start considering application with just a single replica.
    cycleInterval String
    configure the interval duration between Evictor operations. This property can be used to lower or raise the frequency of the Evictor's find-and-drain operations.
    dryRun Boolean
    enable/disable dry-run. This property allows you to prevent the Evictor from carrying any operations out and preview the actions it would take.
    enabled Boolean
    enable/disable the Evictor policy. This will either install or uninstall the Evictor component in your cluster.
    ignorePodDisruptionBudgets Boolean
    if enabled then Evictor will attempt to evict pods that have pod disruption budgets configured.
    nodeGracePeriodMinutes Number
    configure the node grace period which controls the duration which must pass after a node has been created before Evictor starts considering that node.
    podEvictionFailureBackOffInterval String
    configure the pod eviction failure back off interval. If pod eviction fails then Evictor will attempt to evict it again after the amount of time specified here.
    scopedMode Boolean
    enable/disable scoped mode. By default, Evictor targets all nodes in the cluster. This mode will constrain it to just the nodes which were created by CAST AI.

    AutoscalerAutoscalerSettingsSpotInstances, AutoscalerAutoscalerSettingsSpotInstancesArgs

    Enabled bool
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    MaxReclaimRate int
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    SpotBackups Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsSpotInstancesSpotBackups
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotDiversityEnabled bool
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotDiversityPriceIncreaseLimit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotInterruptionPredictions Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    Enabled bool
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    MaxReclaimRate int
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    SpotBackups AutoscalerAutoscalerSettingsSpotInstancesSpotBackups
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotDiversityEnabled bool
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotDiversityPriceIncreaseLimit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    SpotInterruptionPredictions AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    enabled Boolean
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    maxReclaimRate Integer
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    spotBackups AutoscalerAutoscalerSettingsSpotInstancesSpotBackups
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityEnabled Boolean
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityPriceIncreaseLimit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotInterruptionPredictions AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    enabled boolean
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    maxReclaimRate number
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    spotBackups autoscalingAutoscalerAutoscalerSettingsSpotInstancesSpotBackups
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityEnabled boolean
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityPriceIncreaseLimit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotInterruptionPredictions autoscalingAutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    enabled bool
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    max_reclaim_rate int
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    spot_backups autoscaling.AutoscalerAutoscalerSettingsSpotInstancesSpotBackups
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spot_diversity_enabled bool
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spot_diversity_price_increase_limit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spot_interruption_predictions autoscaling.AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    enabled Boolean
    enable/disable spot instances policy.

    Deprecated: enabled under spot_instances is deprecated. To enable spot instances, set constraints.spot = true in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    maxReclaimRate Number
    max allowed reclaim rate when choosing spot instance type. E.g. if the value is 10%, instance types having 10% or higher reclaim rate will not be considered. Set to zero to use all instance types regardless of reclaim rate.

    Deprecated: max_reclaim_rate under spot_instances is deprecated. This field has no direct equivalent in the castai.config.NodeTemplate resource, and setting it will have no effect.

    spotBackups Property Map
    policy defining whether autoscaler can use spot backups instead of spot instances when spot instances are not available.

    Deprecated: spot_backups under spot_instances is deprecated. Configure spot backup behavior using constraints.use_spot_fallbacks and constraints.fallback_restore_rate_seconds in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityEnabled Boolean
    enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.

    Deprecated: spot_diversity_enabled is deprecated. Use the enable_spot_diversity field within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotDiversityPriceIncreaseLimit 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.

    Deprecated: spot_diversity_price_increase_limit is deprecated. Use spot_diversity_price_increase_limit_percent within castai_node_template.constraints in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    spotInterruptionPredictions Property Map
    configure the handling of SPOT interruption predictions.

    Deprecated: spot_interruption_predictions is deprecated. Use the spot_interruption_predictions_enabled and spot_interruption_predictions_type fields in the default castai.config.NodeTemplate resource. The default node template has is_default </span>= true.

    AutoscalerAutoscalerSettingsSpotInstancesSpotBackups, AutoscalerAutoscalerSettingsSpotInstancesSpotBackupsArgs

    Enabled bool
    enable/disable spot backups policy.
    SpotBackupRestoreRateSeconds int
    defines interval on how often spot backups restore to real spot should occur.
    Enabled bool
    enable/disable spot backups policy.
    SpotBackupRestoreRateSeconds int
    defines interval on how often spot backups restore to real spot should occur.
    enabled Boolean
    enable/disable spot backups policy.
    spotBackupRestoreRateSeconds Integer
    defines interval on how often spot backups restore to real spot should occur.
    enabled boolean
    enable/disable spot backups policy.
    spotBackupRestoreRateSeconds number
    defines interval on how often spot backups restore to real spot should occur.
    enabled bool
    enable/disable spot backups policy.
    spot_backup_restore_rate_seconds int
    defines interval on how often spot backups restore to real spot should occur.
    enabled Boolean
    enable/disable spot backups policy.
    spotBackupRestoreRateSeconds Number
    defines interval on how often spot backups restore to real spot should occur.

    AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictions, AutoscalerAutoscalerSettingsSpotInstancesSpotInterruptionPredictionsArgs

    Enabled bool
    enable/disable spot interruption predictions.
    SpotInterruptionPredictionsType string
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.
    Enabled bool
    enable/disable spot interruption predictions.
    SpotInterruptionPredictionsType string
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.
    enabled Boolean
    enable/disable spot interruption predictions.
    spotInterruptionPredictionsType String
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.
    enabled boolean
    enable/disable spot interruption predictions.
    spotInterruptionPredictionsType string
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.
    enabled bool
    enable/disable spot interruption predictions.
    spot_interruption_predictions_type str
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.
    enabled Boolean
    enable/disable spot interruption predictions.
    spotInterruptionPredictionsType String
    define the type of the spot interruption prediction to handle. Allowed values are AWSRebalanceRecommendations, CASTAIInterruptionPredictions.

    AutoscalerAutoscalerSettingsUnschedulablePods, AutoscalerAutoscalerSettingsUnschedulablePodsArgs

    CustomInstancesEnabled bool
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    Enabled bool
    enable/disable unschedulable pods detection policy.
    Headroom Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsUnschedulablePodsHeadroom
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    HeadroomSpot Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    NodeConstraints Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    PodPinner Pulumi.CastAI.Autoscaling.Inputs.AutoscalerAutoscalerSettingsUnschedulablePodsPodPinner
    defines the Cast AI Pod Pinner components settings.
    CustomInstancesEnabled bool
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    Enabled bool
    enable/disable unschedulable pods detection policy.
    Headroom AutoscalerAutoscalerSettingsUnschedulablePodsHeadroom
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    HeadroomSpot AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    NodeConstraints AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    PodPinner AutoscalerAutoscalerSettingsUnschedulablePodsPodPinner
    defines the Cast AI Pod Pinner components settings.
    customInstancesEnabled Boolean
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    enabled Boolean
    enable/disable unschedulable pods detection policy.
    headroom AutoscalerAutoscalerSettingsUnschedulablePodsHeadroom
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    headroomSpot AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    nodeConstraints AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    podPinner AutoscalerAutoscalerSettingsUnschedulablePodsPodPinner
    defines the Cast AI Pod Pinner components settings.
    customInstancesEnabled boolean
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    enabled boolean
    enable/disable unschedulable pods detection policy.
    headroom autoscalingAutoscalerAutoscalerSettingsUnschedulablePodsHeadroom
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    headroomSpot autoscalingAutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    nodeConstraints autoscalingAutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    podPinner autoscalingAutoscalerAutoscalerSettingsUnschedulablePodsPodPinner
    defines the Cast AI Pod Pinner components settings.
    custom_instances_enabled bool
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    enabled bool
    enable/disable unschedulable pods detection policy.
    headroom autoscaling.AutoscalerAutoscalerSettingsUnschedulablePodsHeadroom
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    headroom_spot autoscaling.AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    node_constraints autoscaling.AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    pod_pinner autoscaling.AutoscalerAutoscalerSettingsUnschedulablePodsPodPinner
    defines the Cast AI Pod Pinner components settings.
    customInstancesEnabled Boolean
    enable/disable custom instances policy.

    Deprecated: custom_instances_enabled under unschedulable_pods.node_constraints is deprecated. Use the custom_instances_enabled field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    enabled Boolean
    enable/disable unschedulable pods detection policy.
    headroom Property Map
    additional headroom based on cluster's total available capacity for on-demand nodes.

    Deprecated: headroom is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    headroomSpot Property Map
    additional headroom based on cluster's total available capacity for spot nodes.

    Deprecated: headroom_spot is deprecated. Please refer to the FAQ for guidance on cluster headroom: https://docs.cast.ai/docs/autoscaler-1#can-you-please-share-some-guidance-on-cluster-headroom-i-would-like-to-add-some-buffer-room-so-that-pods-have-a-place-to-run-when-nodes-go-down

    nodeConstraints Property Map
    defines the node constraints that will be applied when autoscaling with Unschedulable Pods policy.

    Deprecated: node_constraints under unschedulable_pods is deprecated. Use the constraints field in the default castai.config.NodeTemplate resource instead. The default node template has is_default </span>= true.

    podPinner Property Map
    defines the Cast AI Pod Pinner components settings.

    AutoscalerAutoscalerSettingsUnschedulablePodsHeadroom, AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomArgs

    CpuPercentage int
    defines percentage of additional CPU capacity to be added.
    Enabled bool
    enable/disable headroom policy.
    MemoryPercentage int
    defines percentage of additional memory capacity to be added.
    CpuPercentage int
    defines percentage of additional CPU capacity to be added.
    Enabled bool
    enable/disable headroom policy.
    MemoryPercentage int
    defines percentage of additional memory capacity to be added.
    cpuPercentage Integer
    defines percentage of additional CPU capacity to be added.
    enabled Boolean
    enable/disable headroom policy.
    memoryPercentage Integer
    defines percentage of additional memory capacity to be added.
    cpuPercentage number
    defines percentage of additional CPU capacity to be added.
    enabled boolean
    enable/disable headroom policy.
    memoryPercentage number
    defines percentage of additional memory capacity to be added.
    cpu_percentage int
    defines percentage of additional CPU capacity to be added.
    enabled bool
    enable/disable headroom policy.
    memory_percentage int
    defines percentage of additional memory capacity to be added.
    cpuPercentage Number
    defines percentage of additional CPU capacity to be added.
    enabled Boolean
    enable/disable headroom policy.
    memoryPercentage Number
    defines percentage of additional memory capacity to be added.

    AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpot, AutoscalerAutoscalerSettingsUnschedulablePodsHeadroomSpotArgs

    CpuPercentage int
    defines percentage of additional CPU capacity to be added.
    Enabled bool
    enable/disable headroom_spot policy.
    MemoryPercentage int
    defines percentage of additional memory capacity to be added.
    CpuPercentage int
    defines percentage of additional CPU capacity to be added.
    Enabled bool
    enable/disable headroom_spot policy.
    MemoryPercentage int
    defines percentage of additional memory capacity to be added.
    cpuPercentage Integer
    defines percentage of additional CPU capacity to be added.
    enabled Boolean
    enable/disable headroom_spot policy.
    memoryPercentage Integer
    defines percentage of additional memory capacity to be added.
    cpuPercentage number
    defines percentage of additional CPU capacity to be added.
    enabled boolean
    enable/disable headroom_spot policy.
    memoryPercentage number
    defines percentage of additional memory capacity to be added.
    cpu_percentage int
    defines percentage of additional CPU capacity to be added.
    enabled bool
    enable/disable headroom_spot policy.
    memory_percentage int
    defines percentage of additional memory capacity to be added.
    cpuPercentage Number
    defines percentage of additional CPU capacity to be added.
    enabled Boolean
    enable/disable headroom_spot policy.
    memoryPercentage Number
    defines percentage of additional memory capacity to be added.

    AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraints, AutoscalerAutoscalerSettingsUnschedulablePodsNodeConstraintsArgs

    Enabled bool
    enable/disable node constraints policy.
    MaxCpuCores int
    defines max CPU cores for the node to pick.
    MaxRamMib int
    defines max RAM in MiB for the node to pick.
    MinCpuCores int
    defines min CPU cores for the node to pick.
    MinRamMib int
    defines min RAM in MiB for the node to pick.
    Enabled bool
    enable/disable node constraints policy.
    MaxCpuCores int
    defines max CPU cores for the node to pick.
    MaxRamMib int
    defines max RAM in MiB for the node to pick.
    MinCpuCores int
    defines min CPU cores for the node to pick.
    MinRamMib int
    defines min RAM in MiB for the node to pick.
    enabled Boolean
    enable/disable node constraints policy.
    maxCpuCores Integer
    defines max CPU cores for the node to pick.
    maxRamMib Integer
    defines max RAM in MiB for the node to pick.
    minCpuCores Integer
    defines min CPU cores for the node to pick.
    minRamMib Integer
    defines min RAM in MiB for the node to pick.
    enabled boolean
    enable/disable node constraints policy.
    maxCpuCores number
    defines max CPU cores for the node to pick.
    maxRamMib number
    defines max RAM in MiB for the node to pick.
    minCpuCores number
    defines min CPU cores for the node to pick.
    minRamMib number
    defines min RAM in MiB for the node to pick.
    enabled bool
    enable/disable node constraints policy.
    max_cpu_cores int
    defines max CPU cores for the node to pick.
    max_ram_mib int
    defines max RAM in MiB for the node to pick.
    min_cpu_cores int
    defines min CPU cores for the node to pick.
    min_ram_mib int
    defines min RAM in MiB for the node to pick.
    enabled Boolean
    enable/disable node constraints policy.
    maxCpuCores Number
    defines max CPU cores for the node to pick.
    maxRamMib Number
    defines max RAM in MiB for the node to pick.
    minCpuCores Number
    defines min CPU cores for the node to pick.
    minRamMib Number
    defines min RAM in MiB for the node to pick.

    AutoscalerAutoscalerSettingsUnschedulablePodsPodPinner, AutoscalerAutoscalerSettingsUnschedulablePodsPodPinnerArgs

    Enabled bool
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.
    Enabled bool
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.
    enabled Boolean
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.
    enabled boolean
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.
    enabled bool
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.
    enabled Boolean
    enable/disable the Pod Pinner component's automatic management in your cluster. Default: enabled.

    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