1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cs
  5. AutoscalingConfig
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.cs.AutoscalingConfig

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource will help you configure auto scaling for the kubernetes cluster, see What is autoscaling config.

    NOTE: Available since v1.127.0.

    NOTE: From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter scale_down_enabled.

    NOTE: From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter expander.

    Create AutoscalingConfig Resource

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

    Constructor syntax

    new AutoscalingConfig(name: string, args?: AutoscalingConfigArgs, opts?: CustomResourceOptions);
    @overload
    def AutoscalingConfig(resource_name: str,
                          args: Optional[AutoscalingConfigArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutoscalingConfig(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          cluster_id: Optional[str] = None,
                          cool_down_duration: Optional[str] = None,
                          daemonset_eviction_for_nodes: Optional[bool] = None,
                          expander: Optional[str] = None,
                          gpu_utilization_threshold: Optional[str] = None,
                          max_graceful_termination_sec: Optional[int] = None,
                          min_replica_count: Optional[int] = None,
                          recycle_node_deletion_enabled: Optional[bool] = None,
                          scale_down_enabled: Optional[bool] = None,
                          scale_up_from_zero: Optional[bool] = None,
                          scan_interval: Optional[str] = None,
                          skip_nodes_with_local_storage: Optional[bool] = None,
                          skip_nodes_with_system_pods: Optional[bool] = None,
                          unneeded_duration: Optional[str] = None,
                          utilization_threshold: Optional[str] = None)
    func NewAutoscalingConfig(ctx *Context, name string, args *AutoscalingConfigArgs, opts ...ResourceOption) (*AutoscalingConfig, error)
    public AutoscalingConfig(string name, AutoscalingConfigArgs? args = null, CustomResourceOptions? opts = null)
    public AutoscalingConfig(String name, AutoscalingConfigArgs args)
    public AutoscalingConfig(String name, AutoscalingConfigArgs args, CustomResourceOptions options)
    
    type: alicloud:cs:AutoscalingConfig
    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 AutoscalingConfigArgs
    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 AutoscalingConfigArgs
    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 AutoscalingConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutoscalingConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutoscalingConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var autoscalingConfigResource = new AliCloud.CS.AutoscalingConfig("autoscalingConfigResource", new()
    {
        ClusterId = "string",
        CoolDownDuration = "string",
        DaemonsetEvictionForNodes = false,
        Expander = "string",
        GpuUtilizationThreshold = "string",
        MaxGracefulTerminationSec = 0,
        MinReplicaCount = 0,
        RecycleNodeDeletionEnabled = false,
        ScaleDownEnabled = false,
        ScaleUpFromZero = false,
        ScanInterval = "string",
        SkipNodesWithLocalStorage = false,
        SkipNodesWithSystemPods = false,
        UnneededDuration = "string",
        UtilizationThreshold = "string",
    });
    
    example, err := cs.NewAutoscalingConfig(ctx, "autoscalingConfigResource", &cs.AutoscalingConfigArgs{
    	ClusterId:                  pulumi.String("string"),
    	CoolDownDuration:           pulumi.String("string"),
    	DaemonsetEvictionForNodes:  pulumi.Bool(false),
    	Expander:                   pulumi.String("string"),
    	GpuUtilizationThreshold:    pulumi.String("string"),
    	MaxGracefulTerminationSec:  pulumi.Int(0),
    	MinReplicaCount:            pulumi.Int(0),
    	RecycleNodeDeletionEnabled: pulumi.Bool(false),
    	ScaleDownEnabled:           pulumi.Bool(false),
    	ScaleUpFromZero:            pulumi.Bool(false),
    	ScanInterval:               pulumi.String("string"),
    	SkipNodesWithLocalStorage:  pulumi.Bool(false),
    	SkipNodesWithSystemPods:    pulumi.Bool(false),
    	UnneededDuration:           pulumi.String("string"),
    	UtilizationThreshold:       pulumi.String("string"),
    })
    
    var autoscalingConfigResource = new AutoscalingConfig("autoscalingConfigResource", AutoscalingConfigArgs.builder()
        .clusterId("string")
        .coolDownDuration("string")
        .daemonsetEvictionForNodes(false)
        .expander("string")
        .gpuUtilizationThreshold("string")
        .maxGracefulTerminationSec(0)
        .minReplicaCount(0)
        .recycleNodeDeletionEnabled(false)
        .scaleDownEnabled(false)
        .scaleUpFromZero(false)
        .scanInterval("string")
        .skipNodesWithLocalStorage(false)
        .skipNodesWithSystemPods(false)
        .unneededDuration("string")
        .utilizationThreshold("string")
        .build());
    
    autoscaling_config_resource = alicloud.cs.AutoscalingConfig("autoscalingConfigResource",
        cluster_id="string",
        cool_down_duration="string",
        daemonset_eviction_for_nodes=False,
        expander="string",
        gpu_utilization_threshold="string",
        max_graceful_termination_sec=0,
        min_replica_count=0,
        recycle_node_deletion_enabled=False,
        scale_down_enabled=False,
        scale_up_from_zero=False,
        scan_interval="string",
        skip_nodes_with_local_storage=False,
        skip_nodes_with_system_pods=False,
        unneeded_duration="string",
        utilization_threshold="string")
    
    const autoscalingConfigResource = new alicloud.cs.AutoscalingConfig("autoscalingConfigResource", {
        clusterId: "string",
        coolDownDuration: "string",
        daemonsetEvictionForNodes: false,
        expander: "string",
        gpuUtilizationThreshold: "string",
        maxGracefulTerminationSec: 0,
        minReplicaCount: 0,
        recycleNodeDeletionEnabled: false,
        scaleDownEnabled: false,
        scaleUpFromZero: false,
        scanInterval: "string",
        skipNodesWithLocalStorage: false,
        skipNodesWithSystemPods: false,
        unneededDuration: "string",
        utilizationThreshold: "string",
    });
    
    type: alicloud:cs:AutoscalingConfig
    properties:
        clusterId: string
        coolDownDuration: string
        daemonsetEvictionForNodes: false
        expander: string
        gpuUtilizationThreshold: string
        maxGracefulTerminationSec: 0
        minReplicaCount: 0
        recycleNodeDeletionEnabled: false
        scaleDownEnabled: false
        scaleUpFromZero: false
        scanInterval: string
        skipNodesWithLocalStorage: false
        skipNodesWithSystemPods: false
        unneededDuration: string
        utilizationThreshold: string
    

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

    ClusterId string
    The id of kubernetes cluster.
    CoolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    DaemonsetEvictionForNodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    Expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    GpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    MaxGracefulTerminationSec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    MinReplicaCount int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    RecycleNodeDeletionEnabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    ScaleDownEnabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    ScaleUpFromZero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    ScanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    SkipNodesWithLocalStorage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    SkipNodesWithSystemPods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    UnneededDuration string
    The unneeded duration. Default is 10m.
    UtilizationThreshold string
    The scale-in threshold. Default is 0.5.
    ClusterId string
    The id of kubernetes cluster.
    CoolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    DaemonsetEvictionForNodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    Expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    GpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    MaxGracefulTerminationSec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    MinReplicaCount int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    RecycleNodeDeletionEnabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    ScaleDownEnabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    ScaleUpFromZero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    ScanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    SkipNodesWithLocalStorage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    SkipNodesWithSystemPods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    UnneededDuration string
    The unneeded duration. Default is 10m.
    UtilizationThreshold string
    The scale-in threshold. Default is 0.5.
    clusterId String
    The id of kubernetes cluster.
    coolDownDuration String
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes Boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander String
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold String
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec Integer
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount Integer
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled Boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled Boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero Boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval String
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage Boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods Boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration String
    The unneeded duration. Default is 10m.
    utilizationThreshold String
    The scale-in threshold. Default is 0.5.
    clusterId string
    The id of kubernetes cluster.
    coolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec number
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount number
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration string
    The unneeded duration. Default is 10m.
    utilizationThreshold string
    The scale-in threshold. Default is 0.5.
    cluster_id str
    The id of kubernetes cluster.
    cool_down_duration str
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonset_eviction_for_nodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander str
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpu_utilization_threshold str
    The scale-in threshold for GPU instance. Default is 0.5.
    max_graceful_termination_sec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    min_replica_count int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycle_node_deletion_enabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scale_down_enabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    scale_up_from_zero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    scan_interval str
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skip_nodes_with_local_storage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skip_nodes_with_system_pods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneeded_duration str
    The unneeded duration. Default is 10m.
    utilization_threshold str
    The scale-in threshold. Default is 0.5.
    clusterId String
    The id of kubernetes cluster.
    coolDownDuration String
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes Boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander String
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold String
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec Number
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount Number
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled Boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled Boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero Boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval String
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage Boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods Boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration String
    The unneeded duration. Default is 10m.
    utilizationThreshold String
    The scale-in threshold. Default is 0.5.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutoscalingConfig 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 AutoscalingConfig Resource

    Get an existing AutoscalingConfig 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?: AutoscalingConfigState, opts?: CustomResourceOptions): AutoscalingConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            cool_down_duration: Optional[str] = None,
            daemonset_eviction_for_nodes: Optional[bool] = None,
            expander: Optional[str] = None,
            gpu_utilization_threshold: Optional[str] = None,
            max_graceful_termination_sec: Optional[int] = None,
            min_replica_count: Optional[int] = None,
            recycle_node_deletion_enabled: Optional[bool] = None,
            scale_down_enabled: Optional[bool] = None,
            scale_up_from_zero: Optional[bool] = None,
            scan_interval: Optional[str] = None,
            skip_nodes_with_local_storage: Optional[bool] = None,
            skip_nodes_with_system_pods: Optional[bool] = None,
            unneeded_duration: Optional[str] = None,
            utilization_threshold: Optional[str] = None) -> AutoscalingConfig
    func GetAutoscalingConfig(ctx *Context, name string, id IDInput, state *AutoscalingConfigState, opts ...ResourceOption) (*AutoscalingConfig, error)
    public static AutoscalingConfig Get(string name, Input<string> id, AutoscalingConfigState? state, CustomResourceOptions? opts = null)
    public static AutoscalingConfig get(String name, Output<String> id, AutoscalingConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ClusterId string
    The id of kubernetes cluster.
    CoolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    DaemonsetEvictionForNodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    Expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    GpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    MaxGracefulTerminationSec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    MinReplicaCount int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    RecycleNodeDeletionEnabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    ScaleDownEnabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    ScaleUpFromZero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    ScanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    SkipNodesWithLocalStorage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    SkipNodesWithSystemPods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    UnneededDuration string
    The unneeded duration. Default is 10m.
    UtilizationThreshold string
    The scale-in threshold. Default is 0.5.
    ClusterId string
    The id of kubernetes cluster.
    CoolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    DaemonsetEvictionForNodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    Expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    GpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    MaxGracefulTerminationSec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    MinReplicaCount int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    RecycleNodeDeletionEnabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    ScaleDownEnabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    ScaleUpFromZero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    ScanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    SkipNodesWithLocalStorage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    SkipNodesWithSystemPods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    UnneededDuration string
    The unneeded duration. Default is 10m.
    UtilizationThreshold string
    The scale-in threshold. Default is 0.5.
    clusterId String
    The id of kubernetes cluster.
    coolDownDuration String
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes Boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander String
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold String
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec Integer
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount Integer
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled Boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled Boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero Boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval String
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage Boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods Boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration String
    The unneeded duration. Default is 10m.
    utilizationThreshold String
    The scale-in threshold. Default is 0.5.
    clusterId string
    The id of kubernetes cluster.
    coolDownDuration string
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander string
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold string
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec number
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount number
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval string
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration string
    The unneeded duration. Default is 10m.
    utilizationThreshold string
    The scale-in threshold. Default is 0.5.
    cluster_id str
    The id of kubernetes cluster.
    cool_down_duration str
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonset_eviction_for_nodes bool
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander str
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpu_utilization_threshold str
    The scale-in threshold for GPU instance. Default is 0.5.
    max_graceful_termination_sec int
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    min_replica_count int
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycle_node_deletion_enabled bool
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scale_down_enabled bool
    Specify whether to allow the scale-in of nodes. Default is true.
    scale_up_from_zero bool
    Should CA scale up when there 0 ready nodes. Default is true.
    scan_interval str
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skip_nodes_with_local_storage bool
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skip_nodes_with_system_pods bool
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneeded_duration str
    The unneeded duration. Default is 10m.
    utilization_threshold str
    The scale-in threshold. Default is 0.5.
    clusterId String
    The id of kubernetes cluster.
    coolDownDuration String
    The cool down duration. Default is 10m. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
    daemonsetEvictionForNodes Boolean
    If true DaemonSet pods will be terminated from nodes. Default is false.
    expander String
    The policy for selecting which node pool to scale. Valid values: least-waste, random, priority. For more information on these policies, see Configure auto scaling
    gpuUtilizationThreshold String
    The scale-in threshold for GPU instance. Default is 0.5.
    maxGracefulTerminationSec Number
    Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is 14400.
    minReplicaCount Number
    Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is 0.
    recycleNodeDeletionEnabled Boolean
    Should CA delete the K8s node object when recycle node has scaled down successfully. Default is false.
    scaleDownEnabled Boolean
    Specify whether to allow the scale-in of nodes. Default is true.
    scaleUpFromZero Boolean
    Should CA scale up when there 0 ready nodes. Default is true.
    scanInterval String
    The interval at which the cluster is reevaluated for scaling. Default is 30s.
    skipNodesWithLocalStorage Boolean
    If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is false.
    skipNodesWithSystemPods Boolean
    If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is true.
    unneededDuration String
    The unneeded duration. Default is 10m.
    utilizationThreshold String
    The scale-in threshold. Default is 0.5.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi