[−][src]Struct k8s_openapi::api::flowcontrol::v1alpha1::LimitedPriorityLevelConfiguration
LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:
- How are requests for this priority level limited?
- What should be done with requests that exceed the limit?
Fields
assuredConcurrencyShares (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:
ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )
bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.
limit_response: Option<LimitResponse>limitResponse indicates what to do with requests that can not be executed right now
Trait Implementations
impl Clone for LimitedPriorityLevelConfiguration[src]
fn clone(&self) -> LimitedPriorityLevelConfiguration[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LimitedPriorityLevelConfiguration[src]
impl Default for LimitedPriorityLevelConfiguration[src]
impl<'de> Deserialize<'de> for LimitedPriorityLevelConfiguration[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl PartialEq<LimitedPriorityLevelConfiguration> for LimitedPriorityLevelConfiguration[src]
fn eq(&self, other: &LimitedPriorityLevelConfiguration) -> bool[src]
fn ne(&self, other: &LimitedPriorityLevelConfiguration) -> bool[src]
impl Serialize for LimitedPriorityLevelConfiguration[src]
impl StructuralPartialEq for LimitedPriorityLevelConfiguration[src]
Auto Trait Implementations
impl RefUnwindSafe for LimitedPriorityLevelConfiguration
impl Send for LimitedPriorityLevelConfiguration
impl Sync for LimitedPriorityLevelConfiguration
impl Unpin for LimitedPriorityLevelConfiguration
impl UnwindSafe for LimitedPriorityLevelConfiguration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,