KubeletConfigResponse

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

See AKS custom node configuration for more details.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val cpuCfsQuota: Boolean? = null

The default is true.

Link copied to clipboard

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

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

Link copied to clipboard
val failSwapOn: 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

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

Link copied to clipboard

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

Link copied to clipboard
val podMaxPids: Int? = null

The maximum number of processes per pod.

Link copied to clipboard

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