Megosztás a következőn keresztül:


KubeletConfig Class

Definition

See AKS custom node configuration for more details.

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

Remarks

See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.

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 allowed list 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 the default is true.

CpuCfsQuotaPeriod

Gets or sets the default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.

CpuManagerPolicy

Gets or sets the default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.

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 to disable image garbage collection, set to 100. The default is 85%

ImageGcLowThreshold

Gets or sets this cannot be set higher than imageGcHighThreshold. The default is 80%

PodMaxPids

Gets or sets the maximum number of processes per pod.

TopologyManagerPolicy

Gets or sets for more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.

Methods

Validate()

Validate the object.

Applies to