Struct gapi_grpc::google::container::v1beta1::NodeKubeletConfig[][src]

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

Node kubelet configs.

Fields

cpu_manager_policy: 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.

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: 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.

Trait Implementations

impl Clone for NodeKubeletConfig[src]

impl Debug for NodeKubeletConfig[src]

impl Default for NodeKubeletConfig[src]

impl Message for NodeKubeletConfig[src]

impl PartialEq<NodeKubeletConfig> for NodeKubeletConfig[src]

impl StructuralPartialEq for NodeKubeletConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for NodeKubeletConfig

impl Send for NodeKubeletConfig

impl Sync for NodeKubeletConfig

impl Unpin for NodeKubeletConfig

impl UnwindSafe for NodeKubeletConfig

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]