Struct google_container1::api::NodeKubeletConfig[][src]

pub struct NodeKubeletConfig {
    pub cpu_cfs_quota: Option<bool>,
    pub cpu_cfs_quota_period: Option<String>,
    pub cpu_manager_policy: Option<String>,
}

Node kubelet configs.

This type is not used in any activity, and only used as part of another schema.

Fields

cpu_cfs_quota: Option<bool>

Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.

cpu_cfs_quota_period: Option<String>

Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.

cpu_manager_policy: Option<String>

Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - "none": the default, which represents the existing scheduling behavior. - "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.

Trait Implementations

impl Clone for NodeKubeletConfig[src]

impl Debug for NodeKubeletConfig[src]

impl Default for NodeKubeletConfig[src]

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

impl Part for NodeKubeletConfig[src]

impl Serialize for NodeKubeletConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for NodeKubeletConfig[src]

impl Send for NodeKubeletConfig[src]

impl Sync for NodeKubeletConfig[src]

impl Unpin for NodeKubeletConfig[src]

impl UnwindSafe for NodeKubeletConfig[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.