Struct scaleway_api_rs::models::scaleway_k8s_v1_cluster_autoscaler_config::ScalewayK8sV1ClusterAutoscalerConfig[][src]

pub struct ScalewayK8sV1ClusterAutoscalerConfig {
    pub scale_down_disabled: Option<bool>,
    pub scale_down_delay_after_add: Option<String>,
    pub estimator: Option<Estimator>,
    pub expander: Option<Expander>,
    pub ignore_daemonsets_utilization: Option<bool>,
    pub balance_similar_node_groups: Option<bool>,
    pub expendable_pods_priority_cutoff: Option<f32>,
    pub scale_down_unneeded_time: Option<String>,
    pub scale_down_utilization_threshold: Option<f32>,
    pub max_graceful_termination_sec: Option<f32>,
}
Expand description

ScalewayK8sV1ClusterAutoscalerConfig : The autoscaler config for the cluster

Fields

scale_down_disabled: Option<bool>

Disable the cluster autoscaler

scale_down_delay_after_add: Option<String>

How long after scale up that scale down evaluation resumes

estimator: Option<Estimator>

Type of resource estimator to be used in scale up

expander: Option<Expander>

Type of node group expander to be used in scale up

ignore_daemonsets_utilization: Option<bool>

Ignore DaemonSet pods when calculating resource utilization for scaling down

balance_similar_node_groups: Option<bool>

Detect similar node groups and balance the number of nodes between them

expendable_pods_priority_cutoff: Option<f32>

Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don’t cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

scale_down_unneeded_time: Option<String>

How long a node should be unneeded before it is eligible for scale down

scale_down_utilization_threshold: Option<f32>

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

max_graceful_termination_sec: Option<f32>

Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

Implementations

The autoscaler config for the cluster

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.