Udostępnij za pośrednictwem


KubeletConfig Class

Definition

Kubelet configurations of agent nodes.

public class KubeletConfig
type KubeletConfig = class
Public Class KubeletConfig
Inheritance
KubeletConfig

Constructors

KubeletConfig()

Initializes a new instance of the KubeletConfig class.

KubeletConfig(String, Nullable<Boolean>, String, Nullable<Int32>, Nullable<Int32>, String, IList<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the KubeletConfig class.

Properties

AllowedUnsafeSysctls

Gets or sets allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).

ContainerLogMaxFiles

Gets or sets the maximum number of container log files that can be present for a container. The number must be ≥ 2.

ContainerLogMaxSizeMB

Gets or sets the maximum size (e.g. 10Mi) of container log file before it is rotated.

CpuCfsQuota

Gets or sets enable CPU CFS quota enforcement for containers that specify CPU limits.

CpuCfsQuotaPeriod

Gets or sets sets CPU CFS quota period value.

CpuManagerPolicy

Gets or sets CPU Manager policy to use.

FailSwapOn

Gets or sets if set to true it will make the Kubelet fail to start if swap is enabled on the node.

ImageGcHighThreshold

Gets or sets the percent of disk usage after which image garbage collection is always run.

ImageGcLowThreshold

Gets or sets the percent of disk usage before which image garbage collection is never run.

PodMaxPids

Gets or sets the maximum number of processes per pod.

TopologyManagerPolicy

Gets or sets topology Manager policy to use.

Methods

Validate()

Validate the object.

Applies to