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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=
.
Auto Trait Implementations
impl Send for ScalewayK8sV1ClusterAutoscalerConfig
impl Sync for ScalewayK8sV1ClusterAutoscalerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more