[][src]Struct k8s_openapi::api::autoscaling::v1::HorizontalPodAutoscalerStatus

pub struct HorizontalPodAutoscalerStatus {
    pub current_cpu_utilization_percentage: Option<i32>,
    pub current_replicas: i32,
    pub desired_replicas: i32,
    pub last_scale_time: Option<Time>,
    pub observed_generation: Option<i64>,
}

current status of a horizontal pod autoscaler

Fields

current_cpu_utilization_percentage: Option<i32>

current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.

current_replicas: i32

current number of replicas of pods managed by this autoscaler.

desired_replicas: i32

desired number of replicas of pods managed by this autoscaler.

last_scale_time: Option<Time>

last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.

observed_generation: Option<i64>

most recent generation observed by this autoscaler.

Trait Implementations

impl Clone for HorizontalPodAutoscalerStatus[src]

impl Default for HorizontalPodAutoscalerStatus[src]

impl PartialEq<HorizontalPodAutoscalerStatus> for HorizontalPodAutoscalerStatus[src]

impl Debug for HorizontalPodAutoscalerStatus[src]

impl Serialize for HorizontalPodAutoscalerStatus[src]

impl<'de> Deserialize<'de> for HorizontalPodAutoscalerStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]