KubeletConfigArgs

data class KubeletConfigArgs(val allowedUnsafeSysctls: Output<List<String>>? = null, val containerLogMaxFiles: Output<Int>? = null, val containerLogMaxSizeMB: Output<Int>? = null, val cpuCfsQuota: Output<Boolean>? = null, val cpuCfsQuotaPeriod: Output<String>? = null, val cpuManagerPolicy: Output<String>? = null, val failSwapOn: Output<Boolean>? = null, val imageGcHighThreshold: Output<Int>? = null, val imageGcLowThreshold: Output<Int>? = null, val podMaxPids: Output<Int>? = null, val topologyManagerPolicy: Output<String>? = null) : ConvertibleToJava<KubeletConfigArgs>

See AKS custom node configuration for more details.

Constructors

Link copied to clipboard
constructor(allowedUnsafeSysctls: Output<List<String>>? = null, containerLogMaxFiles: Output<Int>? = null, containerLogMaxSizeMB: Output<Int>? = null, cpuCfsQuota: Output<Boolean>? = null, cpuCfsQuotaPeriod: Output<String>? = null, cpuManagerPolicy: Output<String>? = null, failSwapOn: Output<Boolean>? = null, imageGcHighThreshold: Output<Int>? = null, imageGcLowThreshold: Output<Int>? = null, podMaxPids: Output<Int>? = null, topologyManagerPolicy: Output<String>? = null)

Properties

Link copied to clipboard
val allowedUnsafeSysctls: Output<List<String>>? = null

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

Link copied to clipboard
val containerLogMaxFiles: Output<Int>? = null

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

Link copied to clipboard
val containerLogMaxSizeMB: Output<Int>? = null

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

Link copied to clipboard
val cpuCfsQuota: Output<Boolean>? = null

The default is true.

Link copied to clipboard
val cpuCfsQuotaPeriod: Output<String>? = null

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

Link copied to clipboard
val cpuManagerPolicy: Output<String>? = null

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

Link copied to clipboard
val failSwapOn: Output<Boolean>? = null

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

Link copied to clipboard
val imageGcHighThreshold: Output<Int>? = null

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

Link copied to clipboard
val imageGcLowThreshold: Output<Int>? = null

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

Link copied to clipboard
val podMaxPids: Output<Int>? = null

The maximum number of processes per pod.

Link copied to clipboard
val topologyManagerPolicy: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): KubeletConfigArgs