KubeletConfig interface

See AKS custom node configuration for more details.

Properties

allowedUnsafeSysctls

Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in *).

containerLogMaxFiles

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

containerLogMaxSizeMB

The maximum size (e.g. 10Mi) of container log file before it is rotated.

cpuCfsQuota

The default is true.

cpuCfsQuotaPeriod

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

The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.

failSwapOn

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

imageGcHighThreshold

To disable image garbage collection, set to 100. The default is 85%

imageGcLowThreshold

This cannot be set higher than imageGcHighThreshold. The default is 80%

podMaxPids

The maximum number of processes per pod.

topologyManagerPolicy

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

Property Details

allowedUnsafeSysctls

Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in *).

allowedUnsafeSysctls?: string[]

Property Value

string[]

containerLogMaxFiles

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

containerLogMaxFiles?: number

Property Value

number

containerLogMaxSizeMB

The maximum size (e.g. 10Mi) of container log file before it is rotated.

containerLogMaxSizeMB?: number

Property Value

number

cpuCfsQuota

The default is true.

cpuCfsQuota?: boolean

Property Value

boolean

cpuCfsQuotaPeriod

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

cpuCfsQuotaPeriod?: string

Property Value

string

cpuManagerPolicy

The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.

cpuManagerPolicy?: string

Property Value

string

failSwapOn

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

failSwapOn?: boolean

Property Value

boolean

imageGcHighThreshold

To disable image garbage collection, set to 100. The default is 85%

imageGcHighThreshold?: number

Property Value

number

imageGcLowThreshold

This cannot be set higher than imageGcHighThreshold. The default is 80%

imageGcLowThreshold?: number

Property Value

number

podMaxPids

The maximum number of processes per pod.

podMaxPids?: number

Property Value

number

topologyManagerPolicy

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

topologyManagerPolicy?: string

Property Value

string